pom.xml 23 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566
  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>cn.iocoder.boot</groupId>
  7. <artifactId>yudao-dependencies</artifactId>
  8. <version>${revision}</version>
  9. <packaging>pom</packaging>
  10. <name>${project.artifactId}</name>
  11. <description>基础 bom 文件,管理整个项目的依赖版本</description>
  12. <url>https://github.com/YunaiV/ruoyi-vue-pro</url>
  13. <properties>
  14. <revision>1.6.1-snapshot</revision>
  15. <!-- 统一依赖管理 -->
  16. <spring.boot.version>2.5.10</spring.boot.version>
  17. <!-- Web 相关 -->
  18. <knife4j.version>3.0.2</knife4j.version>
  19. <swagger-annotations.version>1.5.22</swagger-annotations.version>
  20. <servlet.versoin>2.5</servlet.versoin>
  21. <!-- DB 相关 -->
  22. <mysql.version>5.1.46</mysql.version>
  23. <druid.version>1.2.8</druid.version>
  24. <mybatis-plus.version>3.4.3.4</mybatis-plus.version>
  25. <dynamic-datasource.version>3.5.0</dynamic-datasource.version>
  26. <redisson.version>3.16.6</redisson.version>
  27. <!-- Config 配置中心相关 -->
  28. <apollo.version>1.9.2</apollo.version>
  29. <!-- Job 定时任务相关 -->
  30. <!-- 服务保障相关 -->
  31. <lock4j.version>2.2.0</lock4j.version>
  32. <resilience4j.version>1.7.0</resilience4j.version>
  33. <!-- 监控相关 -->
  34. <skywalking.version>8.7.0</skywalking.version>
  35. <spring-boot-admin.version>2.6.2</spring-boot-admin.version>
  36. <opentracing.version>0.31.0</opentracing.version>
  37. <!-- Test 测试相关 -->
  38. <podam.version>7.2.6.RELEASE</podam.version>
  39. <jedis-mock.version>0.1.16</jedis-mock.version>
  40. <mockito-inline.version>3.9.0</mockito-inline.version>
  41. <!-- Bpm 工作流相关 -->
  42. <activiti.version>7.1.0.M6</activiti.version>
  43. <flowable.version>6.7.0</flowable.version>
  44. <!-- 工具类相关 -->
  45. <lombok.version>1.18.20</lombok.version>
  46. <mapstruct.version>1.4.1.Final</mapstruct.version>
  47. <hutool.version>5.6.1</hutool.version>
  48. <easyexcel.verion>2.2.7</easyexcel.verion>
  49. <velocity.version>2.2</velocity.version>
  50. <screw.version>1.0.5</screw.version>
  51. <guava.version>30.1.1-jre</guava.version>
  52. <guice.version>5.1.0</guice.version>
  53. <transmittable-thread-local.version>2.12.2</transmittable-thread-local.version>
  54. <commons-net.version>3.8.0</commons-net.version>
  55. <jsch.version>0.1.55</jsch.version>
  56. <!-- 三方云服务相关 -->
  57. <minio.version>8.2.2</minio.version>
  58. <aliyun-java-sdk-core.version>4.5.25</aliyun-java-sdk-core.version>
  59. <aliyun-java-sdk-dysmsapi.version>2.1.0</aliyun-java-sdk-dysmsapi.version>
  60. <yunpian-java-sdk.version>1.2.7</yunpian-java-sdk.version>
  61. <justauth.version>1.4.0</justauth.version>
  62. </properties>
  63. <dependencyManagement>
  64. <dependencies>
  65. <!-- 统一依赖管理 -->
  66. <dependency>
  67. <groupId>org.springframework.boot</groupId>
  68. <artifactId>spring-boot-dependencies</artifactId>
  69. <version>${spring.boot.version}</version>
  70. <type>pom</type>
  71. <scope>import</scope>
  72. <exclusions>
  73. <exclusion>
  74. <groupId>mysql</groupId>
  75. <artifactId>mysql-connector-java</artifactId>
  76. </exclusion>
  77. </exclusions>
  78. </dependency>
  79. <!-- 业务组件 -->
  80. <dependency>
  81. <groupId>cn.iocoder.boot</groupId>
  82. <artifactId>yudao-spring-boot-starter-biz-operatelog</artifactId>
  83. <version>${revision}</version>
  84. </dependency>
  85. <dependency>
  86. <groupId>cn.iocoder.boot</groupId>
  87. <artifactId>yudao-spring-boot-starter-biz-dict</artifactId>
  88. <version>${revision}</version>
  89. </dependency>
  90. <dependency>
  91. <groupId>cn.iocoder.boot</groupId>
  92. <artifactId>yudao-spring-boot-starter-biz-sms</artifactId>
  93. <version>${revision}</version>
  94. </dependency>
  95. <dependency>
  96. <groupId>cn.iocoder.boot</groupId>
  97. <artifactId>yudao-spring-boot-starter-biz-pay</artifactId>
  98. <version>${revision}</version>
  99. </dependency>
  100. <dependency>
  101. <groupId>cn.iocoder.boot</groupId>
  102. <artifactId>yudao-spring-boot-starter-biz-weixin</artifactId>
  103. <version>${revision}</version>
  104. </dependency>
  105. <dependency>
  106. <groupId>cn.iocoder.boot</groupId>
  107. <artifactId>yudao-spring-boot-starter-biz-tenant</artifactId>
  108. <version>${revision}</version>
  109. </dependency>
  110. <dependency>
  111. <groupId>cn.iocoder.boot</groupId>
  112. <artifactId>yudao-spring-boot-starter-biz-data-permission</artifactId>
  113. <version>${revision}</version>
  114. </dependency>
  115. <dependency>
  116. <groupId>cn.iocoder.boot</groupId>
  117. <artifactId>yudao-spring-boot-starter-biz-social</artifactId>
  118. <version>${revision}</version>
  119. </dependency>
  120. <!-- Spring 核心 -->
  121. <dependency>
  122. <!-- 用于生成自定义的 Spring @ConfigurationProperties 配置类的说明文件 -->
  123. <groupId>org.springframework.boot</groupId>
  124. <artifactId>spring-boot-configuration-processor</artifactId>
  125. <version>${spring.boot.version}</version>
  126. </dependency>
  127. <!-- Web 相关 -->
  128. <dependency>
  129. <groupId>cn.iocoder.boot</groupId>
  130. <artifactId>yudao-spring-boot-starter-web</artifactId>
  131. <version>${revision}</version>
  132. </dependency>
  133. <dependency>
  134. <groupId>cn.iocoder.boot</groupId>
  135. <artifactId>yudao-spring-boot-starter-security</artifactId>
  136. <version>${revision}</version>
  137. </dependency>
  138. <dependency>
  139. <groupId>com.github.xiaoymin</groupId>
  140. <artifactId>knife4j-spring-boot-starter</artifactId>
  141. <version>${knife4j.version}</version>
  142. <exclusions>
  143. <exclusion>
  144. <artifactId>mapstruct</artifactId>
  145. <groupId>org.mapstruct</groupId> <!-- 避免冲突 -->
  146. </exclusion>
  147. <exclusion>
  148. <artifactId>guava</artifactId>
  149. <groupId>com.google.guava</groupId>
  150. </exclusion>
  151. <exclusion>
  152. <artifactId>swagger-annotations</artifactId>
  153. <groupId>io.swagger</groupId>
  154. </exclusion>
  155. </exclusions>
  156. </dependency>
  157. <dependency>
  158. <groupId>io.swagger</groupId>
  159. <artifactId>swagger-annotations</artifactId>
  160. <version>${swagger-annotations.version}</version>
  161. </dependency>
  162. <!-- DB 相关 -->
  163. <dependency>
  164. <groupId>cn.iocoder.boot</groupId>
  165. <artifactId>yudao-spring-boot-starter-mybatis</artifactId>
  166. <version>${revision}</version>
  167. </dependency>
  168. <dependency>
  169. <groupId>mysql</groupId>
  170. <artifactId>mysql-connector-java</artifactId>
  171. <version>${mysql.version}</version>
  172. </dependency>
  173. <dependency>
  174. <groupId>com.alibaba</groupId>
  175. <artifactId>druid-spring-boot-starter</artifactId>
  176. <version>${druid.version}</version>
  177. </dependency>
  178. <dependency>
  179. <groupId>com.baomidou</groupId>
  180. <artifactId>mybatis-plus-boot-starter</artifactId>
  181. <version>${mybatis-plus.version}</version>
  182. </dependency>
  183. <dependency>
  184. <groupId>com.baomidou</groupId>
  185. <artifactId>dynamic-datasource-spring-boot-starter</artifactId> <!-- 多数据源 -->
  186. <version>${dynamic-datasource.version}</version>
  187. </dependency>
  188. <dependency>
  189. <groupId>cn.iocoder.boot</groupId>
  190. <artifactId>yudao-spring-boot-starter-redis</artifactId>
  191. <version>${revision}</version>
  192. </dependency>
  193. <dependency>
  194. <groupId>org.redisson</groupId>
  195. <artifactId>redisson-spring-boot-starter</artifactId>
  196. <version>${redisson.version}</version>
  197. </dependency>
  198. <!-- Config 配置中心相关 -->
  199. <dependency>
  200. <groupId>cn.iocoder.boot</groupId>
  201. <artifactId>yudao-spring-boot-starter-config</artifactId>
  202. <version>${revision}</version>
  203. </dependency>
  204. <dependency>
  205. <groupId>com.ctrip.framework.apollo</groupId>
  206. <artifactId>apollo-client</artifactId> <!-- 引入 Apollo Client 库,实现内嵌的配置中心 -->
  207. <version>${apollo.version}</version>
  208. </dependency>
  209. <!-- Job 定时任务相关 -->
  210. <dependency>
  211. <groupId>cn.iocoder.boot</groupId>
  212. <artifactId>yudao-spring-boot-starter-job</artifactId>
  213. <version>${revision}</version>
  214. </dependency>
  215. <!-- 消息队列相关 -->
  216. <dependency>
  217. <groupId>cn.iocoder.boot</groupId>
  218. <artifactId>yudao-spring-boot-starter-mq</artifactId>
  219. <version>${revision}</version>
  220. </dependency>
  221. <!-- 服务保障相关 -->
  222. <dependency>
  223. <groupId>cn.iocoder.boot</groupId>
  224. <artifactId>yudao-spring-boot-starter-protection</artifactId>
  225. <version>${revision}</version>
  226. </dependency>
  227. <dependency>
  228. <groupId>com.baomidou</groupId>
  229. <artifactId>lock4j-redisson-spring-boot-starter</artifactId>
  230. <version>${lock4j.version}</version>
  231. <exclusions>
  232. <exclusion>
  233. <artifactId>redisson-spring-boot-starter</artifactId>
  234. <groupId>org.redisson</groupId>
  235. </exclusion>
  236. </exclusions>
  237. </dependency>
  238. <dependency>
  239. <groupId>io.github.resilience4j</groupId>
  240. <artifactId>resilience4j-ratelimiter</artifactId>
  241. <version>${resilience4j.version}</version>
  242. </dependency>
  243. <dependency>
  244. <groupId>io.github.resilience4j</groupId>
  245. <artifactId>resilience4j-spring-boot2</artifactId>
  246. <version>${resilience4j.version}</version>
  247. </dependency>
  248. <!-- 监控相关 -->
  249. <dependency>
  250. <groupId>cn.iocoder.boot</groupId>
  251. <artifactId>yudao-spring-boot-starter-monitor</artifactId>
  252. <version>${revision}</version>
  253. </dependency>
  254. <dependency>
  255. <groupId>org.apache.skywalking</groupId>
  256. <artifactId>apm-toolkit-trace</artifactId>
  257. <version>${skywalking.version}</version>
  258. </dependency>
  259. <dependency>
  260. <groupId>org.apache.skywalking</groupId>
  261. <artifactId>apm-toolkit-logback-1.x</artifactId>
  262. <version>${skywalking.version}</version>
  263. </dependency>
  264. <dependency>
  265. <groupId>org.apache.skywalking</groupId>
  266. <artifactId>apm-toolkit-opentracing</artifactId>
  267. <version>${skywalking.version}</version>
  268. <!-- <exclusions>-->
  269. <!-- <exclusion>-->
  270. <!-- <artifactId>opentracing-api</artifactId>-->
  271. <!-- <groupId>io.opentracing</groupId>-->
  272. <!-- </exclusion>-->
  273. <!-- <exclusion>-->
  274. <!-- <artifactId>opentracing-util</artifactId>-->
  275. <!-- <groupId>io.opentracing</groupId>-->
  276. <!-- </exclusion>-->
  277. <!-- </exclusions>-->
  278. </dependency>
  279. <dependency>
  280. <groupId>io.opentracing</groupId>
  281. <artifactId>opentracing-api</artifactId>
  282. <version>${opentracing.version}</version>
  283. </dependency>
  284. <dependency>
  285. <groupId>io.opentracing</groupId>
  286. <artifactId>opentracing-util</artifactId>
  287. <version>${opentracing.version}</version>
  288. </dependency>
  289. <dependency>
  290. <groupId>io.opentracing</groupId>
  291. <artifactId>opentracing-noop</artifactId>
  292. <version>${opentracing.version}</version>
  293. </dependency>
  294. <dependency>
  295. <groupId>de.codecentric</groupId>
  296. <artifactId>spring-boot-admin-starter-server</artifactId> <!-- 实现 Spring Boot Admin Server 服务端 -->
  297. <version>${spring-boot-admin.version}</version>
  298. </dependency>
  299. <dependency>
  300. <groupId>de.codecentric</groupId>
  301. <artifactId>spring-boot-admin-starter-client</artifactId> <!-- 实现 Spring Boot Admin Server 服务端 -->
  302. <version>${spring-boot-admin.version}</version>
  303. </dependency>
  304. <!-- Test 测试相关 -->
  305. <dependency>
  306. <groupId>cn.iocoder.boot</groupId>
  307. <artifactId>yudao-spring-boot-starter-test</artifactId>
  308. <version>${revision}</version>
  309. <scope>test</scope>
  310. </dependency>
  311. <dependency>
  312. <groupId>org.mockito</groupId>
  313. <artifactId>mockito-inline</artifactId>
  314. <version>${mockito-inline.version}</version> <!-- 支持 Mockito 的 final 类与 static 方法的 mock -->
  315. </dependency>
  316. <dependency>
  317. <groupId>org.springframework.boot</groupId>
  318. <artifactId>spring-boot-starter-test</artifactId>
  319. <version>${spring.boot.version}</version>
  320. <exclusions>
  321. <exclusion>
  322. <artifactId>asm</artifactId>
  323. <groupId>org.ow2.asm</groupId>
  324. </exclusion>
  325. <exclusion>
  326. <groupId>org.mockito</groupId>
  327. <artifactId>mockito-core</artifactId>
  328. </exclusion>
  329. </exclusions>
  330. </dependency>
  331. <dependency>
  332. <groupId>com.github.fppt</groupId> <!-- 单元测试,我们采用内嵌的 Redis 数据库 -->
  333. <artifactId>jedis-mock</artifactId>
  334. <version>${jedis-mock.version}</version>
  335. </dependency>
  336. <dependency>
  337. <groupId>uk.co.jemos.podam</groupId> <!-- 单元测试,随机生成 POJO 类 -->
  338. <artifactId>podam</artifactId>
  339. <version>${podam.version}</version>
  340. </dependency>
  341. <!-- 工作流相关 -->
  342. <dependency>
  343. <groupId>org.activiti</groupId>
  344. <artifactId>activiti-spring-boot-starter</artifactId>
  345. <version>${activiti.version}</version>
  346. <exclusions>
  347. <exclusion>
  348. <groupId>de.odysseus.juel</groupId>
  349. <artifactId>juel-api</artifactId>
  350. </exclusion>
  351. <exclusion>
  352. <groupId>de.odysseus.juel</groupId>
  353. <artifactId>juel-spi</artifactId>
  354. </exclusion>
  355. <exclusion>
  356. <groupId>org.mybatis</groupId>
  357. <artifactId>mybatis</artifactId>
  358. </exclusion>
  359. <exclusion>
  360. <artifactId>el-api</artifactId>
  361. <groupId>javax.el</groupId>
  362. </exclusion>
  363. </exclusions>
  364. </dependency>
  365. <dependency>
  366. <groupId>org.activiti</groupId>
  367. <artifactId>activiti-image-generator</artifactId>
  368. <version>${activiti.version}</version>
  369. </dependency>
  370. <dependency>
  371. <groupId>cn.iocoder.boot</groupId>
  372. <artifactId>yudao-spring-boot-starter-activiti</artifactId>
  373. <version>${revision}</version>
  374. </dependency>
  375. <!-- 工作流相关 flowable -->
  376. <dependency>
  377. <groupId>cn.iocoder.boot</groupId>
  378. <artifactId>yudao-spring-boot-starter-flowable</artifactId>
  379. <version>${revision}</version>
  380. </dependency>
  381. <dependency>
  382. <groupId>org.flowable</groupId>
  383. <artifactId>flowable-spring-boot-starter-basic</artifactId>
  384. <version>${flowable.version}</version>
  385. </dependency>
  386. <dependency>
  387. <groupId>org.flowable</groupId>
  388. <artifactId>flowable-spring-boot-starter-actuator</artifactId>
  389. <version>${flowable.version}</version>
  390. </dependency>
  391. <!-- 工作流相关结束 -->
  392. <!-- 工具类相关 -->
  393. <dependency>
  394. <groupId>cn.iocoder.boot</groupId>
  395. <artifactId>yudao-common</artifactId>
  396. <version>${revision}</version>
  397. </dependency>
  398. <dependency>
  399. <groupId>cn.iocoder.boot</groupId>
  400. <artifactId>yudao-spring-boot-starter-excel</artifactId>
  401. <version>${revision}</version>
  402. </dependency>
  403. <dependency>
  404. <groupId>org.projectlombok</groupId>
  405. <artifactId>lombok</artifactId>
  406. <version>${lombok.version}</version>
  407. </dependency>
  408. <dependency>
  409. <groupId>org.mapstruct</groupId>
  410. <artifactId>mapstruct</artifactId> <!-- use mapstruct-jdk8 for Java 8 or higher -->
  411. <version>${mapstruct.version}</version>
  412. </dependency>
  413. <dependency>
  414. <groupId>org.mapstruct</groupId>
  415. <artifactId>mapstruct-jdk8</artifactId>
  416. <version>${mapstruct.version}</version>
  417. </dependency>
  418. <dependency>
  419. <groupId>org.mapstruct</groupId>
  420. <artifactId>mapstruct-processor</artifactId>
  421. <version>${mapstruct.version}</version>
  422. </dependency>
  423. <dependency>
  424. <groupId>cn.hutool</groupId>
  425. <artifactId>hutool-all</artifactId>
  426. <version>${hutool.version}</version>
  427. </dependency>
  428. <dependency>
  429. <groupId>com.alibaba</groupId>
  430. <artifactId>easyexcel</artifactId>
  431. <version>${easyexcel.verion}</version>
  432. </dependency>
  433. <dependency>
  434. <groupId>org.apache.velocity</groupId>
  435. <artifactId>velocity-engine-core</artifactId>
  436. <version>${velocity.version}</version>
  437. </dependency>
  438. <dependency>
  439. <groupId>cn.smallbun.screw</groupId>
  440. <artifactId>screw-core</artifactId> <!-- 实现数据库文档 -->
  441. <version>${screw.version}</version>
  442. <exclusions>
  443. <exclusion>
  444. <groupId>org.freemarker</groupId>
  445. <artifactId>freemarker</artifactId> <!-- 移除 Freemarker 依赖,采用 Velocity 作为模板引擎 -->
  446. </exclusion>
  447. </exclusions>
  448. </dependency>
  449. <dependency>
  450. <groupId>com.google.guava</groupId>
  451. <artifactId>guava</artifactId>
  452. <version>${guava.version}</version>
  453. </dependency>
  454. <dependency>
  455. <groupId>com.google.inject</groupId>
  456. <artifactId>guice</artifactId>
  457. <version>${guice.version}</version>
  458. </dependency>
  459. <dependency>
  460. <groupId>com.alibaba</groupId>
  461. <artifactId>transmittable-thread-local</artifactId> <!-- 解决 ThreadLocal 父子线程的传值问题 -->
  462. <version>${transmittable-thread-local.version}</version>
  463. </dependency>
  464. <dependency>
  465. <groupId>commons-net</groupId>
  466. <artifactId>commons-net</artifactId> <!-- 解决 ftp 连接 -->
  467. <version>${commons-net.version}</version>
  468. </dependency>
  469. <dependency>
  470. <groupId>com.jcraft</groupId>
  471. <artifactId>jsch</artifactId> <!-- 解决 sftp 连接 -->
  472. <version>${jsch.version}</version>
  473. </dependency>
  474. <!-- 三方云服务相关 -->
  475. <dependency>
  476. <groupId>cn.iocoder.boot</groupId>
  477. <artifactId>yudao-spring-boot-starter-file</artifactId>
  478. <version>${revision}</version>
  479. </dependency>
  480. <dependency>
  481. <groupId>io.minio</groupId>
  482. <artifactId>minio</artifactId>
  483. <version>${minio.version}</version>
  484. </dependency>
  485. <!-- SMS SDK begin -->
  486. <dependency>
  487. <groupId>com.yunpian.sdk</groupId>
  488. <artifactId>yunpian-java-sdk</artifactId>
  489. <version>${yunpian-java-sdk.version}</version>
  490. </dependency>
  491. <dependency>
  492. <groupId>com.aliyun</groupId>
  493. <artifactId>aliyun-java-sdk-core</artifactId>
  494. <version>${aliyun-java-sdk-core.version}</version>
  495. <exclusions>
  496. <exclusion>
  497. <artifactId>opentracing-api</artifactId>
  498. <groupId>io.opentracing</groupId>
  499. </exclusion>
  500. <exclusion>
  501. <artifactId>opentracing-util</artifactId>
  502. <groupId>io.opentracing</groupId>
  503. </exclusion>
  504. </exclusions>
  505. </dependency>
  506. <dependency>
  507. <groupId>com.aliyun</groupId>
  508. <artifactId>aliyun-java-sdk-dysmsapi</artifactId>
  509. <version>${aliyun-java-sdk-dysmsapi.version}</version>
  510. </dependency>
  511. <!-- SMS SDK end -->
  512. <dependency>
  513. <groupId>com.xkcoding.justauth</groupId>
  514. <artifactId>justauth-spring-boot-starter</artifactId> <!-- 社交登陆(例如说,个人微信、企业微信等等) -->
  515. <version>${justauth.version}</version>
  516. </dependency>
  517. </dependencies>
  518. </dependencyManagement>
  519. </project>