pom.xml 6.6 KB

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