pom.xml 2.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788
  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>cc.iotkit</groupId>
  35. <artifactId>common</artifactId>
  36. </dependency>
  37. <dependency>
  38. <groupId>cc.iotkit</groupId>
  39. <artifactId>component</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-mqtt</include>
  61. <include>io.netty:netty-codec-mqtt</include>
  62. </includes>
  63. </artifactSet>
  64. </configuration>
  65. </plugin>
  66. <plugin>
  67. <groupId>org.apache.maven.plugins</groupId>
  68. <artifactId>maven-compiler-plugin</artifactId>
  69. <configuration>
  70. <source>8</source>
  71. <target>8</target>
  72. </configuration>
  73. </plugin>
  74. </plugins>
  75. </build>
  76. </project>