pom.xml 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104
  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. <groupId>cc.iotkit</groupId>
  7. <artifactId>iot-components</artifactId>
  8. <version>${revision}</version>
  9. </parent>
  10. <modelVersion>4.0.0</modelVersion>
  11. <artifactId>iot-nb-component</artifactId>
  12. <dependencies>
  13. <dependency>
  14. <groupId>cc.iotkit</groupId>
  15. <artifactId>iot-common-core</artifactId>
  16. </dependency>
  17. <dependency>
  18. <groupId>cc.iotkit</groupId>
  19. <artifactId>iot-component-base</artifactId>
  20. </dependency>
  21. <dependency>
  22. <groupId>cc.iotkit</groupId>
  23. <artifactId>iot-data-service</artifactId>
  24. </dependency>
  25. <dependency>
  26. <groupId>cc.iotkit</groupId>
  27. <artifactId>iot-script-engine</artifactId>
  28. </dependency>
  29. <!--====================第三方库===================-->
  30. <dependency>
  31. <groupId>io.vertx</groupId>
  32. <artifactId>vertx-core</artifactId>
  33. </dependency>
  34. <dependency>
  35. <groupId>io.vertx</groupId>
  36. <artifactId>vertx-mqtt</artifactId>
  37. </dependency>
  38. <dependency>
  39. <groupId>io.netty</groupId>
  40. <artifactId>netty-codec-mqtt</artifactId>
  41. </dependency>
  42. <dependency>
  43. <groupId>org.slf4j</groupId>
  44. <artifactId>slf4j-api</artifactId>
  45. </dependency>
  46. <dependency>
  47. <groupId>org.projectlombok</groupId>
  48. <artifactId>lombok</artifactId>
  49. </dependency>
  50. </dependencies>
  51. <build>
  52. <plugins>
  53. <plugin>
  54. <groupId>org.apache.maven.plugins</groupId>
  55. <artifactId>maven-shade-plugin</artifactId>
  56. <version>3.2.4</version>
  57. <executions>
  58. <execution>
  59. <phase>package</phase>
  60. <goals>
  61. <goal>shade</goal>
  62. </goals>
  63. </execution>
  64. </executions>
  65. <configuration>
  66. <artifactSet>
  67. <includes>
  68. <include>io.vertx:vertx-core</include>
  69. <include>io.vertx:vertx-mqtt</include>
  70. <include>io.netty:netty-codec-mqtt</include>
  71. <include>org.luaj:luaj-jse</include>
  72. </includes>
  73. </artifactSet>
  74. </configuration>
  75. </plugin>
  76. <plugin>
  77. <groupId>org.apache.maven.plugins</groupId>
  78. <artifactId>maven-compiler-plugin</artifactId>
  79. <configuration>
  80. <source>${java.version}</source>
  81. <target>${java.version}</target>
  82. <forceJavacCompilerUse>true</forceJavacCompilerUse>
  83. <useIncrementalCompilation>false</useIncrementalCompilation>
  84. <encoding>utf8</encoding>
  85. </configuration>
  86. </plugin>
  87. </plugins>
  88. </build>
  89. </project>