pom.xml 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124
  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>iot-components</artifactId>
  7. <groupId>cc.iotkit</groupId>
  8. <version>0.5.0-SNAPSHOT</version>
  9. </parent>
  10. <modelVersion>4.0.0</modelVersion>
  11. <artifactId>iot-emqx-component</artifactId>
  12. <dependencies>
  13. <dependency>
  14. <groupId>cc.iotkit</groupId>
  15. <artifactId>iot-common-model</artifactId>
  16. </dependency>
  17. <dependency>
  18. <groupId>cc.iotkit</groupId>
  19. <artifactId>iot-common-core</artifactId>
  20. </dependency>
  21. <dependency>
  22. <groupId>cc.iotkit</groupId>
  23. <artifactId>iot-component-base</artifactId>
  24. </dependency>
  25. <dependency>
  26. <groupId>cc.iotkit</groupId>
  27. <artifactId>iot-data-service</artifactId>
  28. </dependency>
  29. <dependency>
  30. <groupId>cc.iotkit</groupId>
  31. <artifactId>iot-script-engine</artifactId>
  32. </dependency>
  33. <!--====================第三方库===================-->
  34. <dependency>
  35. <groupId>io.vertx</groupId>
  36. <artifactId>vertx-core</artifactId>
  37. </dependency>
  38. <dependency>
  39. <groupId>io.vertx</groupId>
  40. <artifactId>vertx-web-proxy</artifactId>
  41. </dependency>
  42. <dependency>
  43. <groupId>io.vertx</groupId>
  44. <artifactId>vertx-mqtt</artifactId>
  45. </dependency>
  46. <dependency>
  47. <groupId>org.luaj</groupId>
  48. <artifactId>luaj-jse</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-web-proxy</include>-->
  70. <!-- <include>io.vertx:vertx-mqtt</include>-->
  71. <include>io.vertx:vertx-core</include>
  72. <include>io.vertx:vertx-web-proxy</include>
  73. <include>io.vertx:vertx-mqtt</include>
  74. <include>io.vertx:vertx-web</include>
  75. <include>io.vertx:vertx-http-proxy</include>
  76. <include>org.luaj:luaj-jse</include>
  77. <include>io.netty:netty-common</include>
  78. <include>io.netty:netty-transport</include>
  79. <include>io.netty:netty-handler</include>
  80. <include>io.netty:netty-resolver</include>
  81. <include>io.netty:netty-buffer</include>
  82. <include>io.netty:netty-handler</include>
  83. <include>io.netty:netty-proxy</include>
  84. <include>io.netty:netty-codec</include>
  85. <include>io.netty:netty-codec-mqtt</include>
  86. <include>io.netty:netty-codec-dns</include>
  87. <include>io.netty:netty-resolver-dns</include>
  88. <include>io.netty:netty-tcnative-boringssl-static</include>
  89. </includes>
  90. </artifactSet>
  91. </configuration>
  92. </plugin>
  93. <plugin>
  94. <groupId>org.apache.maven.plugins</groupId>
  95. <artifactId>maven-compiler-plugin</artifactId>
  96. <configuration>
  97. <source>${java.version}</source>
  98. <target>${java.version}</target>
  99. <forceJavacCompilerUse>true</forceJavacCompilerUse>
  100. <useIncrementalCompilation>false</useIncrementalCompilation>
  101. <encoding>utf8</encoding>
  102. </configuration>
  103. </plugin>
  104. </plugins>
  105. </build>
  106. </project>