pom.xml 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899
  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>protocol-gateway</artifactId>
  7. <groupId>cc.iotkit</groupId>
  8. <version>0.1.0-SNAPSHOT</version>
  9. </parent>
  10. <modelVersion>4.0.0</modelVersion>
  11. <artifactId>mqtt-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-mqtt</artifactId>
  20. </dependency>
  21. <dependency>
  22. <groupId>io.netty</groupId>
  23. <artifactId>netty-codec-mqtt</artifactId>
  24. </dependency>
  25. <dependency>
  26. <groupId>org.projectlombok</groupId>
  27. <artifactId>lombok</artifactId>
  28. </dependency>
  29. <dependency>
  30. <groupId>org.slf4j</groupId>
  31. <artifactId>slf4j-api</artifactId>
  32. </dependency>
  33. <dependency>
  34. <groupId>org.luaj</groupId>
  35. <artifactId>luaj-jse</artifactId>
  36. </dependency>
  37. <dependency>
  38. <groupId>cc.iotkit</groupId>
  39. <artifactId>common</artifactId>
  40. </dependency>
  41. <dependency>
  42. <groupId>cc.iotkit</groupId>
  43. <artifactId>component</artifactId>
  44. </dependency>
  45. <dependency>
  46. <groupId>cc.iotkit</groupId>
  47. <artifactId>dao</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-mqtt</include>
  69. <include>io.netty:netty-codec-mqtt</include>
  70. <include>org.luaj:luaj-jse</include>
  71. </includes>
  72. </artifactSet>
  73. </configuration>
  74. </plugin>
  75. <plugin>
  76. <groupId>org.apache.maven.plugins</groupId>
  77. <artifactId>maven-compiler-plugin</artifactId>
  78. <configuration>
  79. <source>8</source>
  80. <target>8</target>
  81. </configuration>
  82. </plugin>
  83. </plugins>
  84. </build>
  85. </project>