pom.xml 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359
  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. <netty.version>4.1.107.Final</netty.version>
  77. <aliyun-oss.version>3.17.4</aliyun-oss.version>
  78. </properties>
  79. <dependencyManagement>
  80. <dependencies>
  81. <!-- 统一依赖管理 -->
  82. <dependency>
  83. <groupId>org.springframework.boot</groupId>
  84. <artifactId>spring-boot-dependencies</artifactId>
  85. <version>${spring.boot.version}</version>
  86. <type>pom</type>
  87. <scope>import</scope>
  88. </dependency>
  89. <dependency>
  90. <groupId>org.springframework.cloud</groupId>
  91. <artifactId>spring-cloud-dependencies</artifactId>
  92. <version>${spring.cloud.version}</version>
  93. <type>pom</type>
  94. <scope>import</scope>
  95. </dependency>
  96. <dependency>
  97. <groupId>com.alibaba.cloud</groupId>
  98. <artifactId>spring-cloud-alibaba-dependencies</artifactId>
  99. <version>${spring.cloud.alibaba.version}</version>
  100. <type>pom</type>
  101. <scope>import</scope>
  102. </dependency>
  103. <dependency>
  104. <groupId>com.squareup.okhttp3</groupId>
  105. <artifactId>okhttp</artifactId>
  106. <version>${okhttp3.version}</version>
  107. </dependency>
  108. <dependency>
  109. <groupId>com.github.pagehelper</groupId>
  110. <artifactId>pagehelper</artifactId>
  111. <version>${pagehelper.version}</version>
  112. </dependency>
  113. <dependency>
  114. <groupId>com.github.pagehelper</groupId>
  115. <artifactId>pagehelper-spring-boot-starter</artifactId>
  116. <version>${pagehelper.starter.version}</version>
  117. </dependency>
  118. <!-- Sa-Token 权限认证 -->
  119. <dependency>
  120. <groupId>cn.dev33</groupId>
  121. <artifactId>sa-token-dependencies</artifactId>
  122. <version>${satoken.version}</version>
  123. <type>pom</type>
  124. <scope>import</scope>
  125. </dependency>
  126. <!--common模块-->
  127. <dependency>
  128. <groupId>com.middle.platform</groupId>
  129. <artifactId>iot-common-core</artifactId>
  130. <version>${revision}</version>
  131. </dependency>
  132. <dependency>
  133. <groupId>io.netty</groupId>
  134. <artifactId>netty-all</artifactId>
  135. <version>${netty.version}</version>
  136. </dependency>
  137. <!-- 组件 -->
  138. <dependency>
  139. <groupId>com.middle.platform</groupId>
  140. <artifactId>iot-starter-satoken</artifactId>
  141. <version>${revision}</version>
  142. </dependency>
  143. <dependency>
  144. <groupId>com.middle.platform</groupId>
  145. <artifactId>iot-starter-log</artifactId>
  146. <version>${revision}</version>
  147. </dependency>
  148. <dependency>
  149. <groupId>com.middle.platform</groupId>
  150. <artifactId>iot-starter-mqtt</artifactId>
  151. <version>${revision}</version>
  152. </dependency>
  153. <dependency>
  154. <groupId>com.middle.platform</groupId>
  155. <artifactId>iot-starter-tdengine</artifactId>
  156. <version>${revision}</version>
  157. </dependency>
  158. <dependency>
  159. <groupId>com.middle.platform</groupId>
  160. <artifactId>iot-starter-es</artifactId>
  161. <version>${revision}</version>
  162. </dependency>
  163. <!-- Web 相关 -->
  164. <dependency>
  165. <groupId>com.middle.platform</groupId>
  166. <artifactId>iot-starter-web</artifactId>
  167. <version>${revision}</version>
  168. </dependency>
  169. <!-- DB 相关 -->
  170. <dependency>
  171. <groupId>com.middle.platform</groupId>
  172. <artifactId>iot-starter-mybatis</artifactId>
  173. <version>${revision}</version>
  174. </dependency>
  175. <dependency>
  176. <groupId>com.middle.platform</groupId>
  177. <artifactId>iot-starter-pagehelper</artifactId>
  178. <version>${revision}</version>
  179. </dependency>
  180. <dependency>
  181. <groupId>com.middle.platform</groupId>
  182. <artifactId>iot-starter-redis</artifactId>
  183. <version>${revision}</version>
  184. </dependency>
  185. <dependency>
  186. <groupId>com.middle.platform</groupId>
  187. <artifactId>iot-starter-excel</artifactId>
  188. <version>${revision}</version>
  189. </dependency>
  190. <!-- RPC 远程调用相关 -->
  191. <dependency>
  192. <groupId>com.middle.platform</groupId>
  193. <artifactId>iot-starter-feign</artifactId>
  194. <version>${revision}</version>
  195. </dependency>
  196. <dependency>
  197. <groupId>com.middle.platform</groupId>
  198. <artifactId>iot-starter-biz-dict</artifactId>
  199. <version>${revision}</version>
  200. </dependency>
  201. <dependency>
  202. <groupId>org.eclipse.californium</groupId>
  203. <artifactId>californium-core</artifactId>
  204. <version>${coap.version}</version>
  205. </dependency>
  206. <dependency>
  207. <groupId>com.alibaba</groupId>
  208. <artifactId>druid-spring-boot-3-starter</artifactId>
  209. <version>${druid.version}</version>
  210. </dependency>
  211. <dependency>
  212. <groupId>com.baomidou</groupId>
  213. <artifactId>mybatis-plus-boot-starter</artifactId>
  214. <version>${mybatis-plus.version}</version>
  215. </dependency>
  216. <dependency>
  217. <groupId>com.baomidou</groupId>
  218. <artifactId>dynamic-datasource-spring-boot-starter</artifactId> <!-- 多数据源 -->
  219. <version>${dynamic-datasource.version}</version>
  220. </dependency>
  221. <dependency>
  222. <groupId>com.github.yulichang</groupId>
  223. <artifactId>mybatis-plus-join-boot-starter</artifactId> <!-- MyBatis 联表查询 -->
  224. <version>${mybatis-plus-join-boot-starter.version}</version>
  225. </dependency>
  226. <dependency>
  227. <groupId>org.redisson</groupId>
  228. <artifactId>redisson-spring-boot-starter</artifactId>
  229. <version>${redisson.version}</version>
  230. </dependency>
  231. <dependency>
  232. <groupId>com.dameng</groupId>
  233. <artifactId>DmJdbcDriver18</artifactId>
  234. <version>${dm8.jdbc.version}</version>
  235. </dependency>
  236. <dependency>
  237. <groupId>com.taosdata.jdbc</groupId>
  238. <artifactId>taos-jdbcdriver</artifactId>
  239. <version>${taos.version}</version>
  240. </dependency>
  241. <dependency>
  242. <groupId>cn.hutool</groupId>
  243. <artifactId>hutool-all</artifactId>
  244. <version>${hutool.version}</version>
  245. </dependency>
  246. <dependency>
  247. <groupId>com.alibaba</groupId>
  248. <artifactId>easyexcel</artifactId>
  249. <version>${easyexcel.verion}</version>
  250. </dependency>
  251. <dependency>
  252. <groupId>commons-io</groupId>
  253. <artifactId>commons-io</artifactId>
  254. <version>${commons-io.version}</version>
  255. </dependency>
  256. <dependency>
  257. <groupId>com.alibaba</groupId>
  258. <artifactId>fastjson</artifactId>
  259. <version>${fastjson.version}</version>
  260. </dependency>
  261. <dependency>
  262. <groupId>com.google.guava</groupId>
  263. <artifactId>guava</artifactId>
  264. <version>${guava.version}</version>
  265. </dependency>
  266. <dependency>
  267. <groupId>com.aliyun.oss</groupId>
  268. <artifactId>aliyun-sdk-oss</artifactId>
  269. <version>${aliyun-oss.version}</version>
  270. </dependency>
  271. <dependency>
  272. <groupId>com.alibaba</groupId>
  273. <artifactId>transmittable-thread-local</artifactId> <!-- 解决 ThreadLocal 父子线程的传值问题 -->
  274. <version>${transmittable-thread-local.version}</version>
  275. </dependency>
  276. <dependency>
  277. <groupId>com.middle.platform</groupId>
  278. <artifactId>iot-module-system-api</artifactId>
  279. <version>${revision}</version>
  280. </dependency>
  281. <dependency>
  282. <groupId>com.middle.platform</groupId>
  283. <artifactId>iot-module-manage-api</artifactId>
  284. <version>${revision}</version>
  285. </dependency>
  286. <dependency>
  287. <groupId>com.middle.platform</groupId>
  288. <artifactId>iot-starter-rabbitmq</artifactId>
  289. <version>${revision}</version>
  290. </dependency>
  291. <dependency>
  292. <groupId>com.middle.platform</groupId>
  293. <artifactId>iot-starter-kafka</artifactId>
  294. <version>${revision}</version>
  295. </dependency>
  296. <dependency>
  297. <groupId>com.middle.platform</groupId>
  298. <artifactId>iot-module-data-api</artifactId>
  299. <version>${revision}</version>
  300. </dependency>
  301. <dependency>
  302. <groupId>com.middle.platform</groupId>
  303. <artifactId>iot-module-auth-api</artifactId>
  304. <version>${revision}</version>
  305. </dependency>
  306. <dependency>
  307. <groupId>com.middle.platform</groupId>
  308. <artifactId>iot-starter-oss</artifactId>
  309. <version>${revision}</version>
  310. </dependency>
  311. </dependencies>
  312. </dependencyManagement>
  313. <build>
  314. <plugins>
  315. <!-- 统一 revision 版本 -->
  316. <plugin>
  317. <groupId>org.codehaus.mojo</groupId>
  318. <artifactId>flatten-maven-plugin</artifactId>
  319. <version>${flatten-maven-plugin.version}</version>
  320. <configuration>
  321. <flattenMode>resolveCiFriendliesOnly</flattenMode>
  322. <updatePomFile>true</updatePomFile>
  323. </configuration>
  324. <executions>
  325. <execution>
  326. <goals>
  327. <goal>flatten</goal>
  328. </goals>
  329. <id>flatten</id>
  330. <phase>process-resources</phase>
  331. </execution>
  332. <execution>
  333. <goals>
  334. <goal>clean</goal>
  335. </goals>
  336. <id>flatten.clean</id>
  337. <phase>clean</phase>
  338. </execution>
  339. </executions>
  340. </plugin>
  341. </plugins>
  342. </build>
  343. </project>