pom.xml 7.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227
  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>iotkit-parent</artifactId>
  7. <groupId>cc.iotkit</groupId>
  8. <version>0.5.3</version>
  9. </parent>
  10. <modelVersion>4.0.0</modelVersion>
  11. <artifactId>iot-starter</artifactId>
  12. <packaging>jar</packaging>
  13. <dependencies>
  14. <dependency>
  15. <groupId>io.vertx</groupId>
  16. <artifactId>vertx-core</artifactId>
  17. </dependency>
  18. <dependency>
  19. <groupId>io.vertx</groupId>
  20. <artifactId>vertx-web-client</artifactId>
  21. </dependency>
  22. <dependency>
  23. <groupId>jakarta.xml.bind</groupId>
  24. <artifactId>jakarta.xml.bind-api</artifactId>
  25. <version>4.0.1</version>
  26. </dependency>
  27. <dependency>
  28. <groupId>cc.iotkit</groupId>
  29. <artifactId>iot-common-tenant</artifactId>
  30. </dependency>
  31. <dependency>
  32. <groupId>cc.iotkit</groupId>
  33. <artifactId>iot-rule-engine</artifactId>
  34. </dependency>
  35. <!--内置vertx消息总线-->
  36. <dependency>
  37. <groupId>cc.iotkit</groupId>
  38. <artifactId>iot-message-event-bus</artifactId>
  39. </dependency>
  40. <!--打开注释使用rocketmq消息总线-->
  41. <!-- <dependency>-->
  42. <!-- <groupId>cc.iotkit</groupId>-->
  43. <!-- <artifactId>iot-message-rocketmq</artifactId>-->
  44. <!-- </dependency>-->
  45. <dependency>
  46. <groupId>cc.iotkit</groupId>
  47. <artifactId>iot-plugin-main</artifactId>
  48. </dependency>
  49. <dependency>
  50. <groupId>cc.iotkit</groupId>
  51. <artifactId>iot-manager</artifactId>
  52. </dependency>
  53. <dependency>
  54. <groupId>cc.iotkit</groupId>
  55. <artifactId>iot-system</artifactId>
  56. </dependency>
  57. <dependency>
  58. <groupId>cc.iotkit</groupId>
  59. <artifactId>iot-openapi</artifactId>
  60. </dependency>
  61. <dependency>
  62. <groupId>cc.iotkit</groupId>
  63. <artifactId>iot-data-serviceImpl-rdb</artifactId>
  64. </dependency>
  65. <dependency>
  66. <groupId>cc.iotkit</groupId>
  67. <artifactId>iot-modbus</artifactId>
  68. </dependency>
  69. <!--打开注释 启用es数据库-->
  70. <dependency>
  71. <groupId>cc.iotkit</groupId>
  72. <artifactId>iot-temporal-serviceImpl-es</artifactId>
  73. </dependency>
  74. <!--打开注释 启用timescale数据库-->
  75. <!-- <dependency>-->
  76. <!-- <groupId>cc.iotkit</groupId>-->
  77. <!-- <artifactId>iot-temporal-serviceImpl-ts</artifactId>-->
  78. <!-- </dependency>-->
  79. <!--打开注释 启用tdengine数据库-->
  80. <!-- <dependency>-->
  81. <!-- <groupId>cc.iotkit</groupId>-->
  82. <!-- <artifactId>iot-temporal-serviceImpl-td</artifactId>-->
  83. <!-- </dependency>-->
  84. <!--内置oss-->
  85. <dependency>
  86. <groupId>cc.iotkit</groupId>
  87. <artifactId>iot-oss-embed</artifactId>
  88. </dependency>
  89. <!--====================第三方库===================-->
  90. <dependency>
  91. <groupId>org.springframework.boot</groupId>
  92. <artifactId>spring-boot-starter-web</artifactId>
  93. </dependency>
  94. <dependency>
  95. <groupId>com.mysql</groupId>
  96. <artifactId>mysql-connector-j</artifactId>
  97. <version>8.0.33</version>
  98. </dependency>
  99. <dependency>
  100. <groupId>org.springframework.boot</groupId>
  101. <artifactId>spring-boot-starter-logging</artifactId>
  102. <exclusions>
  103. <exclusion>
  104. <groupId>org.apache.logging.log4j</groupId>
  105. <artifactId>log4j-to-slf4j</artifactId>
  106. </exclusion>
  107. </exclusions>
  108. </dependency>
  109. <dependency>
  110. <groupId>com.gitee.starblues</groupId>
  111. <artifactId>spring-brick</artifactId>
  112. </dependency>
  113. <dependency>
  114. <groupId>org.apache.logging.log4j</groupId>
  115. <artifactId>log4j-core</artifactId>
  116. </dependency>
  117. <dependency>
  118. <groupId>org.projectlombok</groupId>
  119. <artifactId>lombok</artifactId>
  120. <optional>true</optional>
  121. </dependency>
  122. <dependency>
  123. <groupId>it.ozimov</groupId>
  124. <artifactId>embedded-redis</artifactId>
  125. <exclusions>
  126. <exclusion>
  127. <artifactId>slf4j-simple</artifactId>
  128. <groupId>org.slf4j</groupId>
  129. </exclusion>
  130. </exclusions>
  131. </dependency>
  132. <dependency>
  133. <groupId>org.elasticsearch</groupId>
  134. <artifactId>elasticsearch</artifactId>
  135. </dependency>
  136. <dependency>
  137. <groupId>org.elasticsearch.plugin</groupId>
  138. <artifactId>transport-netty4-client</artifactId>
  139. </dependency>
  140. </dependencies>
  141. <build>
  142. <plugins>
  143. <plugin>
  144. <groupId>org.apache.maven.plugins</groupId>
  145. <artifactId>maven-compiler-plugin</artifactId>
  146. <version>3.0</version>
  147. <configuration>
  148. <source>${java.version}</source>
  149. <target>${java.version}</target>
  150. <encoding>UTF-8</encoding>
  151. </configuration>
  152. </plugin>
  153. <plugin>
  154. <groupId>org.springframework.boot</groupId>
  155. <artifactId>spring-boot-maven-plugin</artifactId>
  156. <version>${spring-boot.version}</version>
  157. <executions>
  158. <execution>
  159. <goals>
  160. <goal>repackage</goal>
  161. </goals>
  162. </execution>
  163. </executions>
  164. </plugin>
  165. <plugin>
  166. <groupId>org.apache.maven.plugins</groupId>
  167. <artifactId>maven-assembly-plugin</artifactId>
  168. <configuration>
  169. <appendAssemblyId>false</appendAssemblyId>
  170. <archive>
  171. <manifest>
  172. <mainClass>cc.iotkit.Application</mainClass>
  173. </manifest>
  174. </archive>
  175. <descriptors>
  176. <descriptor>
  177. ${project.parent.basedir}/iot-starter/src/main/resources/assemblies/standalone-package.xml
  178. </descriptor>
  179. </descriptors>
  180. </configuration>
  181. <executions>
  182. <execution>
  183. <id>make-assembly</id>
  184. <phase>package</phase>
  185. <goals>
  186. <goal>single</goal>
  187. </goals>
  188. </execution>
  189. </executions>
  190. </plugin>
  191. </plugins>
  192. </build>
  193. </project>