pom.xml 6.4 KB

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