pom.xml 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123
  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>${revision}</version>
  9. </parent>
  10. <modelVersion>4.0.0</modelVersion>
  11. <artifactId>iot-emqx-component</artifactId>
  12. <dependencies>
  13. <dependency>
  14. <groupId>io.vertx</groupId>
  15. <artifactId>vertx-core</artifactId>
  16. </dependency>
  17. <dependency>
  18. <groupId>io.vertx</groupId>
  19. <artifactId>vertx-web-proxy</artifactId>
  20. </dependency>
  21. <dependency>
  22. <groupId>io.vertx</groupId>
  23. <artifactId>vertx-mqtt</artifactId>
  24. </dependency>
  25. <dependency>
  26. <groupId>org.luaj</groupId>
  27. <artifactId>luaj-jse</artifactId>
  28. </dependency>
  29. <dependency>
  30. <groupId>cc.iotkit</groupId>
  31. <artifactId>iot-common-model</artifactId>
  32. </dependency>
  33. <dependency>
  34. <groupId>cc.iotkit</groupId>
  35. <artifactId>iot-common-core</artifactId>
  36. </dependency>
  37. <dependency>
  38. <groupId>cc.iotkit</groupId>
  39. <artifactId>iot-component-base</artifactId>
  40. </dependency>
  41. <dependency>
  42. <groupId>cc.iotkit</groupId>
  43. <artifactId>iot-data-service</artifactId>
  44. </dependency>
  45. <dependency>
  46. <groupId>cc.iotkit</groupId>
  47. <artifactId>iot-script-engine</artifactId>
  48. </dependency>
  49. </dependencies>
  50. <build>
  51. <plugins>
  52. <plugin>
  53. <groupId>org.apache.maven.plugins</groupId>
  54. <artifactId>maven-shade-plugin</artifactId>
  55. <version>3.2.4</version>
  56. <executions>
  57. <execution>
  58. <phase>package</phase>
  59. <goals>
  60. <goal>shade</goal>
  61. </goals>
  62. </execution>
  63. </executions>
  64. <configuration>
  65. <artifactSet>
  66. <includes>
  67. <!-- <include>io.vertx:vertx-core</include>-->
  68. <!-- <include>io.vertx:vertx-web-proxy</include>-->
  69. <!-- <include>io.vertx:vertx-mqtt</include>-->
  70. <include>io.vertx:vertx-core</include>
  71. <include>io.vertx:vertx-web-proxy</include>
  72. <include>io.vertx:vertx-mqtt</include>
  73. <include>io.vertx:vertx-web</include>
  74. <include>io.vertx:vertx-http-proxy</include>
  75. <include>org.luaj:luaj-jse</include>
  76. <include>io.netty:netty-common</include>
  77. <include>io.netty:netty-transport</include>
  78. <include>io.netty:netty-handler</include>
  79. <include>io.netty:netty-resolver</include>
  80. <include>io.netty:netty-buffer</include>
  81. <include>io.netty:netty-handler</include>
  82. <include>io.netty:netty-proxy</include>
  83. <include>io.netty:netty-codec</include>
  84. <include>io.netty:netty-codec-mqtt</include>
  85. <include>io.netty:netty-codec-dns</include>
  86. <include>io.netty:netty-resolver-dns</include>
  87. <include>io.netty:netty-tcnative-boringssl-static</include>
  88. </includes>
  89. </artifactSet>
  90. </configuration>
  91. </plugin>
  92. <plugin>
  93. <groupId>org.apache.maven.plugins</groupId>
  94. <artifactId>maven-compiler-plugin</artifactId>
  95. <configuration>
  96. <source>${java.version}</source>
  97. <target>${java.version}</target>
  98. <forceJavacCompilerUse>true</forceJavacCompilerUse>
  99. <useIncrementalCompilation>false</useIncrementalCompilation>
  100. <encoding>utf8</encoding>
  101. </configuration>
  102. </plugin>
  103. </plugins>
  104. </build>
  105. </project>