pom.xml 14 KB

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