pom.xml 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115
  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.3.3-SNAPSHOT</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-model</artifactId>
  32. </dependency>
  33. <dependency>
  34. <groupId>cc.iotkit</groupId>
  35. <artifactId>iot-dao</artifactId>
  36. </dependency>
  37. <dependency>
  38. <groupId>cc.iotkit</groupId>
  39. <artifactId>iot-common</artifactId>
  40. </dependency>
  41. <dependency>
  42. <groupId>cc.iotkit</groupId>
  43. <artifactId>iot-component-base</artifactId>
  44. </dependency>
  45. </dependencies>
  46. <build>
  47. <plugins>
  48. <plugin>
  49. <groupId>org.apache.maven.plugins</groupId>
  50. <artifactId>maven-shade-plugin</artifactId>
  51. <version>3.2.4</version>
  52. <executions>
  53. <execution>
  54. <phase>package</phase>
  55. <goals>
  56. <goal>shade</goal>
  57. </goals>
  58. </execution>
  59. </executions>
  60. <configuration>
  61. <artifactSet>
  62. <includes>
  63. <!-- <include>io.vertx:vertx-core</include>-->
  64. <!-- <include>io.vertx:vertx-web-proxy</include>-->
  65. <!-- <include>io.vertx:vertx-mqtt</include>-->
  66. <include>io.vertx:vertx-core</include>
  67. <include>io.vertx:vertx-web-proxy</include>
  68. <include>io.vertx:vertx-mqtt</include>
  69. <include>io.vertx:vertx-web</include>
  70. <include>io.vertx:vertx-http-proxy</include>
  71. <include>org.luaj:luaj-jse</include>
  72. <include>io.netty:netty-common</include>
  73. <include>io.netty:netty-transport</include>
  74. <include>io.netty:netty-handler</include>
  75. <include>io.netty:netty-resolver</include>
  76. <include>io.netty:netty-buffer</include>
  77. <include>io.netty:netty-handler</include>
  78. <include>io.netty:netty-proxy</include>
  79. <include>io.netty:netty-codec</include>
  80. <include>io.netty:netty-codec-mqtt</include>
  81. <include>io.netty:netty-codec-dns</include>
  82. <include>io.netty:netty-resolver-dns</include>
  83. <include>io.netty:netty-tcnative-boringssl-static</include>
  84. </includes>
  85. </artifactSet>
  86. </configuration>
  87. </plugin>
  88. <plugin>
  89. <groupId>org.apache.maven.plugins</groupId>
  90. <artifactId>maven-compiler-plugin</artifactId>
  91. <configuration>
  92. <source>8</source>
  93. <target>8</target>
  94. </configuration>
  95. </plugin>
  96. </plugins>
  97. </build>
  98. </project>