pom.xml 7.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276
  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>org.springframework.boot</groupId>
  16. <artifactId>spring-boot-starter-web</artifactId>
  17. </dependency>
  18. <dependency>
  19. <groupId>org.springframework.cloud</groupId>
  20. <artifactId>spring-cloud-starter-openfeign</artifactId>
  21. </dependency>
  22. <dependency>
  23. <groupId>org.springframework.boot</groupId>
  24. <artifactId>spring-boot-starter-logging</artifactId>
  25. <exclusions>
  26. <exclusion>
  27. <groupId>org.apache.logging.log4j</groupId>
  28. <artifactId>log4j-to-slf4j</artifactId>
  29. </exclusion>
  30. </exclusions>
  31. </dependency>
  32. <dependency>
  33. <groupId>org.apache.logging.log4j</groupId>
  34. <artifactId>log4j-core</artifactId>
  35. </dependency>
  36. <dependency>
  37. <groupId>org.projectlombok</groupId>
  38. <artifactId>lombok</artifactId>
  39. <optional>true</optional>
  40. </dependency>
  41. <dependency>
  42. <groupId>commons-beanutils</groupId>
  43. <artifactId>commons-beanutils</artifactId>
  44. </dependency>
  45. <dependency>
  46. <groupId>org.apache.commons</groupId>
  47. <artifactId>commons-lang3</artifactId>
  48. </dependency>
  49. <dependency>
  50. <groupId>commons-codec</groupId>
  51. <artifactId>commons-codec</artifactId>
  52. </dependency>
  53. <dependency>
  54. <groupId>commons-io</groupId>
  55. <artifactId>commons-io</artifactId>
  56. </dependency>
  57. <dependency>
  58. <groupId>org.bouncycastle</groupId>
  59. <artifactId>bcprov-jdk15on</artifactId>
  60. </dependency>
  61. <dependency>
  62. <groupId>com.aliyun.oss</groupId>
  63. <artifactId>aliyun-sdk-oss</artifactId>
  64. </dependency>
  65. <dependency>
  66. <groupId>joda-time</groupId>
  67. <artifactId>joda-time</artifactId>
  68. </dependency>
  69. <dependency>
  70. <groupId>it.ozimov</groupId>
  71. <artifactId>embedded-redis</artifactId>
  72. <exclusions>
  73. <exclusion>
  74. <artifactId>slf4j-simple</artifactId>
  75. <groupId>org.slf4j</groupId>
  76. </exclusion>
  77. </exclusions>
  78. </dependency>
  79. <dependency>
  80. <groupId>org.elasticsearch</groupId>
  81. <artifactId>elasticsearch</artifactId>
  82. </dependency>
  83. <dependency>
  84. <groupId>org.elasticsearch.plugin</groupId>
  85. <artifactId>transport-netty4-client</artifactId>
  86. </dependency>
  87. <dependency>
  88. <groupId>cc.iotkit</groupId>
  89. <artifactId>iot-common-model</artifactId>
  90. </dependency>
  91. <dependency>
  92. <groupId>cc.iotkit</groupId>
  93. <artifactId>iot-common-core</artifactId>
  94. </dependency>
  95. <dependency>
  96. <groupId>cc.iotkit</groupId>
  97. <artifactId>iot-rule-engine</artifactId>
  98. </dependency>
  99. <dependency>
  100. <groupId>cc.iotkit</groupId>
  101. <artifactId>iot-component-server</artifactId>
  102. </dependency>
  103. <dependency>
  104. <groupId>cc.iotkit</groupId>
  105. <artifactId>iot-component-converter</artifactId>
  106. </dependency>
  107. <dependency>
  108. <groupId>cc.iotkit</groupId>
  109. <artifactId>iot-virtual-device</artifactId>
  110. </dependency>
  111. <dependency>
  112. <groupId>cc.iotkit</groupId>
  113. <artifactId>iot-message-core</artifactId>
  114. </dependency>
  115. <!--内置vertx消息总线-->
  116. <dependency>
  117. <groupId>cc.iotkit</groupId>
  118. <artifactId>iot-message-event-bus</artifactId>
  119. </dependency>
  120. <dependency>
  121. <groupId>cc.iotkit</groupId>
  122. <artifactId>iot-common-doc</artifactId>
  123. </dependency>
  124. <dependency>
  125. <groupId>cc.iotkit</groupId>
  126. <artifactId>iot-manager</artifactId>
  127. </dependency>
  128. <dependency>
  129. <groupId>cc.iotkit</groupId>
  130. <artifactId>iot-system</artifactId>
  131. </dependency>
  132. <dependency>
  133. <groupId>cc.iotkit</groupId>
  134. <artifactId>iot-contribution</artifactId>
  135. </dependency>
  136. <dependency>
  137. <groupId>cc.iotkit</groupId>
  138. <artifactId>iot-baetyl</artifactId>
  139. </dependency>
  140. <dependency>
  141. <groupId>cc.iotkit</groupId>
  142. <artifactId>iot-generator</artifactId>
  143. </dependency>
  144. <dependency>
  145. <groupId>cc.iotkit</groupId>
  146. <artifactId>iot-openapi</artifactId>
  147. </dependency>
  148. <!-- <dependency>
  149. <groupId>cc.iotkit</groupId>
  150. <artifactId>iot-baetyl</artifactId>
  151. </dependency>-->
  152. <!--打开注释使用rocketmq消息总线-->
  153. <!-- <dependency>-->
  154. <!-- <groupId>cc.iotkit</groupId>-->
  155. <!-- <artifactId>iot-message-rocketmq</artifactId>-->
  156. <!-- </dependency>-->
  157. <dependency>
  158. <groupId>cc.iotkit</groupId>
  159. <artifactId>iot-temporal-service</artifactId>
  160. </dependency>
  161. <dependency>
  162. <groupId>cc.iotkit</groupId>
  163. <artifactId>iot-data-serviceImpl-rdb</artifactId>
  164. </dependency>
  165. <!--打开注释 启用es数据库-->
  166. <dependency>
  167. <groupId>cc.iotkit</groupId>
  168. <artifactId>iot-temporal-serviceImpl-es</artifactId>
  169. </dependency>
  170. <!--打开注释 启用timescale数据库-->
  171. <!-- <dependency>-->
  172. <!-- <groupId>cc.iotkit</groupId>-->
  173. <!-- <artifactId>iot-temporal-serviceImpl-ts</artifactId>-->
  174. <!-- </dependency>-->
  175. <!--打开注释 启用tdengine数据库-->
  176. <!-- <dependency>-->
  177. <!-- <groupId>cc.iotkit</groupId>-->
  178. <!-- <artifactId>iot-temproal-serviceImpl-td</artifactId>-->
  179. <!-- </dependency>-->
  180. <dependency>
  181. <groupId>cc.iotkit</groupId>
  182. <artifactId>iot-data-serviceImpl-cache</artifactId>
  183. </dependency>
  184. </dependencies>
  185. <build>
  186. <plugins>
  187. <plugin>
  188. <groupId>org.apache.maven.plugins</groupId>
  189. <artifactId>maven-compiler-plugin</artifactId>
  190. <version>3.0</version>
  191. <configuration>
  192. <source>${java.version}</source>
  193. <target>${java.version}</target>
  194. <encoding>UTF-8</encoding>
  195. </configuration>
  196. </plugin>
  197. <plugin>
  198. <groupId>org.springframework.boot</groupId>
  199. <artifactId>spring-boot-maven-plugin</artifactId>
  200. <version>${spring-boot.version}</version>
  201. <executions>
  202. <execution>
  203. <goals>
  204. <goal>repackage</goal>
  205. </goals>
  206. </execution>
  207. </executions>
  208. </plugin>
  209. <plugin>
  210. <groupId>org.apache.maven.plugins</groupId>
  211. <artifactId>maven-assembly-plugin</artifactId>
  212. <configuration>
  213. <appendAssemblyId>false</appendAssemblyId>
  214. <archive>
  215. <manifest>
  216. <mainClass>cc.iotkit.Application</mainClass>
  217. </manifest>
  218. </archive>
  219. <descriptors>
  220. <descriptor>${project.parent.basedir}/iot-starter/src/main/resources/assemblies/standalone-package.xml</descriptor>
  221. </descriptors>
  222. </configuration>
  223. <executions>
  224. <execution>
  225. <id>make-assembly</id>
  226. <phase>package</phase>
  227. <goals>
  228. <goal>single</goal>
  229. </goals>
  230. </execution>
  231. </executions>
  232. </plugin>
  233. </plugins>
  234. </build>
  235. </project>