pom.xml 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341
  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. <modelVersion>4.0.0</modelVersion>
  6. <groupId>com.middle.platform</groupId>
  7. <artifactId>iot-dependencies</artifactId>
  8. <version>${revision}</version>
  9. <name>${project.artifactId}</name>
  10. <packaging>pom</packaging>
  11. <description>物联中台pom依赖管理</description>
  12. <properties>
  13. <revision>1.0.0</revision>
  14. <flatten-maven-plugin.version>1.5.0</flatten-maven-plugin.version>
  15. <!-- 统一依赖管理 -->
  16. <spring.boot.version>3.1.4</spring.boot.version>
  17. <spring.cloud.version>2022.0.4</spring.cloud.version>
  18. <spring.cloud.alibaba.version>2022.0.0.0</spring.cloud.alibaba.version>
  19. <!-- Web 相关 -->
  20. <servlet.versoin>2.5</servlet.versoin>
  21. <springdoc.version>2.2.0</springdoc.version>
  22. <knife4j.version>4.3.0</knife4j.version>
  23. <satoken.version>1.37.0</satoken.version>
  24. <pagehelper.starter.version>2.0.0</pagehelper.starter.version>
  25. <pagehelper.version>6.0.0</pagehelper.version>
  26. <!-- DB 相关 -->
  27. <druid.version>1.2.19</druid.version>
  28. <mybatis-plus.version>3.5.3.2</mybatis-plus.version>
  29. <mybatis-plus-generator.version>3.5.3.2</mybatis-plus-generator.version>
  30. <dynamic-datasource.version>3.6.1</dynamic-datasource.version>
  31. <mybatis-plus-join-boot-starter.version>1.4.6</mybatis-plus-join-boot-starter.version>
  32. <redisson.version>3.23.4</redisson.version>
  33. <dm8.jdbc.version>8.1.2.141</dm8.jdbc.version>
  34. <taos.version>3.2.7</taos.version>
  35. <!-- RPC 相关 -->
  36. <!-- Config 配置中心相关 -->
  37. <apollo.version>1.9.2</apollo.version>
  38. <!-- Job 定时任务相关 -->
  39. <xxl-job.version>2.3.1</xxl-job.version>
  40. <!-- 服务保障相关 -->
  41. <lock4j.version>2.2.3</lock4j.version>
  42. <resilience4j.version>2.1.0</resilience4j.version>
  43. <!-- 监控相关 -->
  44. <skywalking.version>9.0.0</skywalking.version>
  45. <spring-boot-admin.version>3.1.6</spring-boot-admin.version>
  46. <opentracing.version>0.33.0</opentracing.version>
  47. <!-- Test 测试相关 -->
  48. <podam.version>8.0.0.RELEASE</podam.version>
  49. <jedis-mock.version>1.0.10</jedis-mock.version>
  50. <mockito-inline.version>5.2.0</mockito-inline.version>
  51. <lombok.version>1.18.30</lombok.version>
  52. <hutool.version>5.8.22</hutool.version>
  53. <easyexcel.verion>3.3.2</easyexcel.verion>
  54. <fastjson.version>1.2.83</fastjson.version>
  55. <guava.version>32.1.2-jre</guava.version>
  56. <guice.version>5.1.0</guice.version>
  57. <transmittable-thread-local.version>2.14.2</transmittable-thread-local.version>
  58. <commons-net.version>3.9.0</commons-net.version>
  59. <jsch.version>0.1.55</jsch.version>
  60. <tika-core.version>2.9.0</tika-core.version>
  61. <ip2region.version>2.7.0</ip2region.version>
  62. <reflections.version>0.10.2</reflections.version>
  63. <!-- 三方云服务相关 -->
  64. <okio.version>3.5.0</okio.version>
  65. <okhttp3.version>4.11.0</okhttp3.version>
  66. <commons-io.version>2.13.0</commons-io.version>
  67. <minio.version>8.5.6</minio.version>
  68. <aliyun-java-sdk-core.version>4.6.4</aliyun-java-sdk-core.version>
  69. <aliyun-java-sdk-dysmsapi.version>2.2.1</aliyun-java-sdk-dysmsapi.version>
  70. <tencentcloud-sdk-java.version>3.1.853</tencentcloud-sdk-java.version>
  71. <justauth.version>2.0.3</justauth.version>
  72. <jimureport.version>1.5.8</jimureport.version>
  73. <xercesImpl.version>2.12.2</xercesImpl.version>
  74. <weixin-java.version>4.5.5.B</weixin-java.version>
  75. <coap.version>3.11.0</coap.version>
  76. </properties>
  77. <dependencyManagement>
  78. <dependencies>
  79. <!-- 统一依赖管理 -->
  80. <dependency>
  81. <groupId>org.springframework.boot</groupId>
  82. <artifactId>spring-boot-dependencies</artifactId>
  83. <version>${spring.boot.version}</version>
  84. <type>pom</type>
  85. <scope>import</scope>
  86. </dependency>
  87. <dependency>
  88. <groupId>org.springframework.cloud</groupId>
  89. <artifactId>spring-cloud-dependencies</artifactId>
  90. <version>${spring.cloud.version}</version>
  91. <type>pom</type>
  92. <scope>import</scope>
  93. </dependency>
  94. <dependency>
  95. <groupId>com.alibaba.cloud</groupId>
  96. <artifactId>spring-cloud-alibaba-dependencies</artifactId>
  97. <version>${spring.cloud.alibaba.version}</version>
  98. <type>pom</type>
  99. <scope>import</scope>
  100. </dependency>
  101. <dependency>
  102. <groupId>com.squareup.okhttp3</groupId>
  103. <artifactId>okhttp</artifactId>
  104. <version>${okhttp3.version}</version>
  105. </dependency>
  106. <dependency>
  107. <groupId>com.github.pagehelper</groupId>
  108. <artifactId>pagehelper</artifactId>
  109. <version>${pagehelper.version}</version>
  110. </dependency>
  111. <dependency>
  112. <groupId>com.github.pagehelper</groupId>
  113. <artifactId>pagehelper-spring-boot-starter</artifactId>
  114. <version>${pagehelper.starter.version}</version>
  115. </dependency>
  116. <!-- Sa-Token 权限认证 -->
  117. <dependency>
  118. <groupId>cn.dev33</groupId>
  119. <artifactId>sa-token-dependencies</artifactId>
  120. <version>${satoken.version}</version>
  121. <type>pom</type>
  122. <scope>import</scope>
  123. </dependency>
  124. <!--common模块-->
  125. <dependency>
  126. <groupId>com.middle.platform</groupId>
  127. <artifactId>iot-common-core</artifactId>
  128. <version>${revision}</version>
  129. </dependency>
  130. <dependency>
  131. <groupId>com.middle.platform</groupId>
  132. <artifactId>iot-common-rabbitmq</artifactId>
  133. <version>${revision}</version>
  134. </dependency>
  135. <!-- 组件 -->
  136. <dependency>
  137. <groupId>com.middle.platform</groupId>
  138. <artifactId>iot-starter-satoken</artifactId>
  139. <version>${revision}</version>
  140. </dependency>
  141. <dependency>
  142. <groupId>com.middle.platform</groupId>
  143. <artifactId>iot-starter-log</artifactId>
  144. <version>${revision}</version>
  145. </dependency>
  146. <dependency>
  147. <groupId>com.middle.platform</groupId>
  148. <artifactId>iot-starter-mqtt</artifactId>
  149. <version>${revision}</version>
  150. </dependency>
  151. <dependency>
  152. <groupId>com.middle.platform</groupId>
  153. <artifactId>iot-starter-tdengine</artifactId>
  154. <version>${revision}</version>
  155. </dependency>
  156. <dependency>
  157. <groupId>com.middle.platform</groupId>
  158. <artifactId>iot-starter-es</artifactId>
  159. <version>${revision}</version>
  160. </dependency>
  161. <!-- Web 相关 -->
  162. <dependency>
  163. <groupId>com.middle.platform</groupId>
  164. <artifactId>iot-starter-web</artifactId>
  165. <version>${revision}</version>
  166. </dependency>
  167. <!-- DB 相关 -->
  168. <dependency>
  169. <groupId>com.middle.platform</groupId>
  170. <artifactId>iot-starter-mybatis</artifactId>
  171. <version>${revision}</version>
  172. </dependency>
  173. <dependency>
  174. <groupId>com.middle.platform</groupId>
  175. <artifactId>iot-starter-pagehelper</artifactId>
  176. <version>${revision}</version>
  177. </dependency>
  178. <dependency>
  179. <groupId>com.middle.platform</groupId>
  180. <artifactId>iot-starter-redis</artifactId>
  181. <version>${revision}</version>
  182. </dependency>
  183. <dependency>
  184. <groupId>com.middle.platform</groupId>
  185. <artifactId>iot-starter-excel</artifactId>
  186. <version>${revision}</version>
  187. </dependency>
  188. <!-- RPC 远程调用相关 -->
  189. <dependency>
  190. <groupId>com.middle.platform</groupId>
  191. <artifactId>iot-starter-feign</artifactId>
  192. <version>${revision}</version>
  193. </dependency>
  194. <dependency>
  195. <groupId>com.middle.platform</groupId>
  196. <artifactId>iot-starter-biz-dict</artifactId>
  197. <version>${revision}</version>
  198. </dependency>
  199. <dependency>
  200. <groupId>org.eclipse.californium</groupId>
  201. <artifactId>californium-core</artifactId>
  202. <version>${coap.version}</version>
  203. </dependency>
  204. <dependency>
  205. <groupId>com.alibaba</groupId>
  206. <artifactId>druid-spring-boot-3-starter</artifactId>
  207. <version>${druid.version}</version>
  208. </dependency>
  209. <dependency>
  210. <groupId>com.baomidou</groupId>
  211. <artifactId>mybatis-plus-boot-starter</artifactId>
  212. <version>${mybatis-plus.version}</version>
  213. </dependency>
  214. <dependency>
  215. <groupId>com.baomidou</groupId>
  216. <artifactId>dynamic-datasource-spring-boot-starter</artifactId> <!-- 多数据源 -->
  217. <version>${dynamic-datasource.version}</version>
  218. </dependency>
  219. <dependency>
  220. <groupId>com.github.yulichang</groupId>
  221. <artifactId>mybatis-plus-join-boot-starter</artifactId> <!-- MyBatis 联表查询 -->
  222. <version>${mybatis-plus-join-boot-starter.version}</version>
  223. </dependency>
  224. <dependency>
  225. <groupId>org.redisson</groupId>
  226. <artifactId>redisson-spring-boot-starter</artifactId>
  227. <version>${redisson.version}</version>
  228. </dependency>
  229. <dependency>
  230. <groupId>com.dameng</groupId>
  231. <artifactId>DmJdbcDriver18</artifactId>
  232. <version>${dm8.jdbc.version}</version>
  233. </dependency>
  234. <dependency>
  235. <groupId>com.taosdata.jdbc</groupId>
  236. <artifactId>taos-jdbcdriver</artifactId>
  237. <version>${taos.version}</version>
  238. </dependency>
  239. <dependency>
  240. <groupId>cn.hutool</groupId>
  241. <artifactId>hutool-all</artifactId>
  242. <version>${hutool.version}</version>
  243. </dependency>
  244. <dependency>
  245. <groupId>com.alibaba</groupId>
  246. <artifactId>easyexcel</artifactId>
  247. <version>${easyexcel.verion}</version>
  248. </dependency>
  249. <dependency>
  250. <groupId>commons-io</groupId>
  251. <artifactId>commons-io</artifactId>
  252. <version>${commons-io.version}</version>
  253. </dependency>
  254. <dependency>
  255. <groupId>com.alibaba</groupId>
  256. <artifactId>fastjson</artifactId>
  257. <version>${fastjson.version}</version>
  258. </dependency>
  259. <dependency>
  260. <groupId>com.google.guava</groupId>
  261. <artifactId>guava</artifactId>
  262. <version>${guava.version}</version>
  263. </dependency>
  264. <dependency>
  265. <groupId>com.alibaba</groupId>
  266. <artifactId>transmittable-thread-local</artifactId> <!-- 解决 ThreadLocal 父子线程的传值问题 -->
  267. <version>${transmittable-thread-local.version}</version>
  268. </dependency>
  269. <dependency>
  270. <groupId>com.middle.platform</groupId>
  271. <artifactId>iot-module-system-api</artifactId>
  272. <version>${revision}</version>
  273. </dependency>
  274. <dependency>
  275. <groupId>com.middle.platform</groupId>
  276. <artifactId>iot-module-manage-api</artifactId>
  277. <version>${revision}</version>
  278. </dependency>
  279. <dependency>
  280. <groupId>com.middle.platform</groupId>
  281. <artifactId>iot-starter-rabbitmq</artifactId>
  282. <version>${revision}</version>
  283. </dependency>
  284. <dependency>
  285. <groupId>com.middle.platform</groupId>
  286. <artifactId>iot-module-data-api</artifactId>
  287. <version>${revision}</version>
  288. </dependency>
  289. <dependency>
  290. <groupId>com.middle.platform</groupId>
  291. <artifactId>iot-module-auth-api</artifactId>
  292. <version>${revision}</version>
  293. </dependency>
  294. </dependencies>
  295. </dependencyManagement>
  296. <build>
  297. <plugins>
  298. <!-- 统一 revision 版本 -->
  299. <plugin>
  300. <groupId>org.codehaus.mojo</groupId>
  301. <artifactId>flatten-maven-plugin</artifactId>
  302. <version>${flatten-maven-plugin.version}</version>
  303. <configuration>
  304. <flattenMode>resolveCiFriendliesOnly</flattenMode>
  305. <updatePomFile>true</updatePomFile>
  306. </configuration>
  307. <executions>
  308. <execution>
  309. <goals>
  310. <goal>flatten</goal>
  311. </goals>
  312. <id>flatten</id>
  313. <phase>process-resources</phase>
  314. </execution>
  315. <execution>
  316. <goals>
  317. <goal>clean</goal>
  318. </goals>
  319. <id>flatten.clean</id>
  320. <phase>clean</phase>
  321. </execution>
  322. </executions>
  323. </plugin>
  324. </plugins>
  325. </build>
  326. </project>