pom.xml 2.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <project xmlns="http://maven.apache.org/POM/4.0.0"
  3. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  4. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  5. <parent>
  6. <artifactId>iotkit-parent</artifactId>
  7. <groupId>cc.iotkit</groupId>
  8. <version>0.0.1-SNAPSHOT</version>
  9. <relativePath>../../../pom.xml</relativePath>
  10. </parent>
  11. <modelVersion>4.0.0</modelVersion>
  12. <artifactId>fun-test</artifactId>
  13. <dependencies>
  14. <dependency>
  15. <groupId>org.apache.pulsar</groupId>
  16. <artifactId>pulsar-functions-api</artifactId>
  17. <version>2.6.0</version>
  18. </dependency>
  19. <dependency>
  20. <groupId>cc.iotkit</groupId>
  21. <artifactId>common</artifactId>
  22. </dependency>
  23. <dependency>
  24. <groupId>cc.iotkit</groupId>
  25. <artifactId>gateway-client</artifactId>
  26. </dependency>
  27. </dependencies>
  28. <build>
  29. <plugins>
  30. <plugin>
  31. <groupId>org.apache.maven.plugins</groupId>
  32. <artifactId>maven-assembly-plugin</artifactId>
  33. <version>3.1.0</version>
  34. <configuration>
  35. <archive>
  36. <manifest>
  37. <mainClass>cc.iotkit.fun.TestFunction</mainClass>
  38. </manifest>
  39. </archive>
  40. <descriptorRefs>
  41. <descriptorRef>jar-with-dependencies</descriptorRef>
  42. </descriptorRefs>
  43. </configuration>
  44. <executions>
  45. <execution>
  46. <id>make-assembly</id>
  47. <phase>package</phase>
  48. <goals>
  49. <goal>single</goal>
  50. </goals>
  51. </execution>
  52. </executions>
  53. </plugin>
  54. <plugin>
  55. <groupId>org.apache.maven.plugins</groupId>
  56. <artifactId>maven-compiler-plugin</artifactId>
  57. <configuration>
  58. <source>8</source>
  59. <target>8</target>
  60. </configuration>
  61. </plugin>
  62. </plugins>
  63. </build>
  64. </project>