pom.xml 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109
  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-mqtt-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.projectlombok</groupId>
  44. <artifactId>lombok</artifactId>
  45. </dependency>
  46. <dependency>
  47. <groupId>org.slf4j</groupId>
  48. <artifactId>slf4j-api</artifactId>
  49. </dependency>
  50. <dependency>
  51. <groupId>org.luaj</groupId>
  52. <artifactId>luaj-jse</artifactId>
  53. </dependency>
  54. </dependencies>
  55. <build>
  56. <plugins>
  57. <plugin>
  58. <groupId>org.apache.maven.plugins</groupId>
  59. <artifactId>maven-shade-plugin</artifactId>
  60. <version>3.2.4</version>
  61. <executions>
  62. <execution>
  63. <phase>package</phase>
  64. <goals>
  65. <goal>shade</goal>
  66. </goals>
  67. </execution>
  68. </executions>
  69. <configuration>
  70. <artifactSet>
  71. <includes>
  72. <include>io.vertx:vertx-core</include>
  73. <include>io.vertx:vertx-mqtt</include>
  74. <include>io.netty:netty-codec-mqtt</include>
  75. <include>org.luaj:luaj-jse</include>
  76. </includes>
  77. </artifactSet>
  78. </configuration>
  79. </plugin>
  80. <plugin>
  81. <groupId>org.apache.maven.plugins</groupId>
  82. <artifactId>maven-compiler-plugin</artifactId>
  83. <configuration>
  84. <source>${java.version}</source>
  85. <target>${java.version}</target>
  86. <forceJavacCompilerUse>true</forceJavacCompilerUse>
  87. <useIncrementalCompilation>false</useIncrementalCompilation>
  88. <encoding>utf8</encoding>
  89. </configuration>
  90. </plugin>
  91. </plugins>
  92. </build>
  93. </project>