pom.xml 3.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586
  1. <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  2. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  3. <parent>
  4. <artifactId>yudao-module-iot</artifactId>
  5. <groupId>cn.iocoder.boot</groupId>
  6. <version>${revision}</version>
  7. </parent>
  8. <modelVersion>4.0.0</modelVersion>
  9. <packaging>jar</packaging>
  10. <artifactId>yudao-module-iot-gateway</artifactId>
  11. <name>${project.artifactId}</name>
  12. <description>
  13. iot 模块下,设备网关:
  14. ① 功能一:接收来自设备的消息,并进行解码(decode)后,发送到消息网关,提供给 iot-biz 进行处理
  15. ② 功能二:接收来自消息网关的消息(由 iot-biz 发送),并进行编码(encode)后,发送给设备
  16. </description>
  17. <dependencies>
  18. <dependency>
  19. <groupId>cn.iocoder.boot</groupId>
  20. <artifactId>yudao-module-iot-core</artifactId>
  21. <version>${revision}</version>
  22. </dependency>
  23. <dependency>
  24. <groupId>org.springframework</groupId>
  25. <artifactId>spring-web</artifactId>
  26. </dependency>
  27. <!-- 消息队列相关 -->
  28. <dependency>
  29. <groupId>org.apache.rocketmq</groupId>
  30. <artifactId>rocketmq-spring-boot-starter</artifactId>
  31. <!-- TODO @芋艿:消息队列,后续可能去掉,默认不使用 rocketmq -->
  32. <!-- <optional>true</optional> -->
  33. </dependency>
  34. <!-- 工具类相关 -->
  35. <dependency>
  36. <groupId>io.vertx</groupId>
  37. <artifactId>vertx-web</artifactId>
  38. </dependency>
  39. <!-- MQTT 相关 -->
  40. <dependency>
  41. <groupId>io.vertx</groupId>
  42. <artifactId>vertx-mqtt</artifactId>
  43. </dependency>
  44. <!-- CoAP 相关 - Eclipse Californium -->
  45. <dependency>
  46. <groupId>org.eclipse.californium</groupId>
  47. <artifactId>californium-core</artifactId>
  48. </dependency>
  49. <!-- 测试相关 -->
  50. <dependency>
  51. <groupId>cn.iocoder.boot</groupId>
  52. <artifactId>yudao-spring-boot-starter-test</artifactId>
  53. <scope>test</scope>
  54. </dependency>
  55. </dependencies>
  56. <build>
  57. <!-- 设置构建的 jar 包名 -->
  58. <finalName>${project.artifactId}</finalName>
  59. <plugins>
  60. <!-- 打包 -->
  61. <plugin>
  62. <groupId>org.springframework.boot</groupId>
  63. <artifactId>spring-boot-maven-plugin</artifactId>
  64. <version>${spring.boot.version}</version>
  65. <executions>
  66. <execution>
  67. <goals>
  68. <goal>repackage</goal> <!-- 将引入的 jar 打入其中 -->
  69. </goals>
  70. </execution>
  71. </executions>
  72. </plugin>
  73. </plugins>
  74. </build>
  75. </project>