pom.xml 6.9 KB

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