pom.xml 7.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233
  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. <!-- 打开注释 启用代码生成器模块-->
  75. <!-- <dependency>-->
  76. <!-- <groupId>cc.iotkit</groupId>-->
  77. <!-- <artifactId>iot-generator</artifactId>-->
  78. <!-- </dependency>-->
  79. <!--打开注释 启用timescale数据库-->
  80. <!-- <dependency>-->
  81. <!-- <groupId>cc.iotkit</groupId>-->
  82. <!-- <artifactId>iot-temporal-serviceImpl-ts</artifactId>-->
  83. <!-- </dependency>-->
  84. <!--打开注释 启用tdengine数据库-->
  85. <!-- <dependency>-->
  86. <!-- <groupId>cc.iotkit</groupId>-->
  87. <!-- <artifactId>iot-temporal-serviceImpl-td</artifactId>-->
  88. <!-- </dependency>-->
  89. <!--内置oss-->
  90. <dependency>
  91. <groupId>cc.iotkit</groupId>
  92. <artifactId>iot-oss-embed</artifactId>
  93. </dependency>
  94. <!--====================第三方库===================-->
  95. <dependency>
  96. <groupId>org.springframework.boot</groupId>
  97. <artifactId>spring-boot-starter-web</artifactId>
  98. </dependency>
  99. <dependency>
  100. <groupId>com.mysql</groupId>
  101. <artifactId>mysql-connector-j</artifactId>
  102. <version>8.0.33</version>
  103. </dependency>
  104. <dependency>
  105. <groupId>org.springframework.boot</groupId>
  106. <artifactId>spring-boot-starter-logging</artifactId>
  107. <exclusions>
  108. <exclusion>
  109. <groupId>org.apache.logging.log4j</groupId>
  110. <artifactId>log4j-to-slf4j</artifactId>
  111. </exclusion>
  112. </exclusions>
  113. </dependency>
  114. <dependency>
  115. <groupId>com.gitee.starblues</groupId>
  116. <artifactId>spring-brick</artifactId>
  117. </dependency>
  118. <dependency>
  119. <groupId>org.apache.logging.log4j</groupId>
  120. <artifactId>log4j-core</artifactId>
  121. </dependency>
  122. <dependency>
  123. <groupId>org.projectlombok</groupId>
  124. <artifactId>lombok</artifactId>
  125. <optional>true</optional>
  126. </dependency>
  127. <dependency>
  128. <groupId>it.ozimov</groupId>
  129. <artifactId>embedded-redis</artifactId>
  130. <exclusions>
  131. <exclusion>
  132. <artifactId>slf4j-simple</artifactId>
  133. <groupId>org.slf4j</groupId>
  134. </exclusion>
  135. </exclusions>
  136. </dependency>
  137. <dependency>
  138. <groupId>org.elasticsearch</groupId>
  139. <artifactId>elasticsearch</artifactId>
  140. </dependency>
  141. <dependency>
  142. <groupId>org.elasticsearch.plugin</groupId>
  143. <artifactId>transport-netty4-client</artifactId>
  144. </dependency>
  145. </dependencies>
  146. <build>
  147. <plugins>
  148. <plugin>
  149. <groupId>org.apache.maven.plugins</groupId>
  150. <artifactId>maven-compiler-plugin</artifactId>
  151. <version>3.0</version>
  152. <configuration>
  153. <source>${java.version}</source>
  154. <target>${java.version}</target>
  155. <encoding>UTF-8</encoding>
  156. </configuration>
  157. </plugin>
  158. <plugin>
  159. <groupId>org.springframework.boot</groupId>
  160. <artifactId>spring-boot-maven-plugin</artifactId>
  161. <version>${spring-boot.version}</version>
  162. <executions>
  163. <execution>
  164. <goals>
  165. <goal>repackage</goal>
  166. </goals>
  167. </execution>
  168. </executions>
  169. </plugin>
  170. <plugin>
  171. <groupId>org.apache.maven.plugins</groupId>
  172. <artifactId>maven-assembly-plugin</artifactId>
  173. <configuration>
  174. <appendAssemblyId>false</appendAssemblyId>
  175. <archive>
  176. <manifest>
  177. <mainClass>cc.iotkit.Application</mainClass>
  178. </manifest>
  179. </archive>
  180. <descriptors>
  181. <descriptor>
  182. ${project.parent.basedir}/iot-starter/src/main/resources/assemblies/standalone-package.xml
  183. </descriptor>
  184. </descriptors>
  185. </configuration>
  186. <executions>
  187. <execution>
  188. <id>make-assembly</id>
  189. <phase>package</phase>
  190. <goals>
  191. <goal>single</goal>
  192. </goals>
  193. </execution>
  194. </executions>
  195. </plugin>
  196. </plugins>
  197. </build>
  198. </project>