pom.xml 4.0 KB

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