pom.xml 2.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  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>protocol-function</artifactId>
  13. <dependencies>
  14. <dependency>
  15. <groupId>org.apache.pulsar</groupId>
  16. <artifactId>pulsar-functions-api</artifactId>
  17. </dependency>
  18. <dependency>
  19. <groupId>org.projectlombok</groupId>
  20. <artifactId>lombok</artifactId>
  21. </dependency>
  22. <dependency>
  23. <groupId>cc.iotkit</groupId>
  24. <artifactId>common</artifactId>
  25. </dependency>
  26. </dependencies>
  27. <build>
  28. <plugins>
  29. <plugin>
  30. <groupId>org.apache.maven.plugins</groupId>
  31. <artifactId>maven-assembly-plugin</artifactId>
  32. <version>3.1.0</version>
  33. <configuration>
  34. <archive>
  35. <manifest>
  36. <mainClass>cc.iotkit.fun.TestFunction</mainClass>
  37. </manifest>
  38. </archive>
  39. <descriptorRefs>
  40. <descriptorRef>jar-with-dependencies</descriptorRef>
  41. </descriptorRefs>
  42. </configuration>
  43. <executions>
  44. <execution>
  45. <id>make-assembly</id>
  46. <phase>package</phase>
  47. <goals>
  48. <goal>single</goal>
  49. </goals>
  50. </execution>
  51. </executions>
  52. </plugin>
  53. <plugin>
  54. <groupId>org.apache.maven.plugins</groupId>
  55. <artifactId>maven-compiler-plugin</artifactId>
  56. <configuration>
  57. <source>8</source>
  58. <target>8</target>
  59. </configuration>
  60. </plugin>
  61. </plugins>
  62. </build>
  63. </project>