pom.xml 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514
  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>org.dromara</groupId>
  7. <artifactId>ruoyi-vue-plus</artifactId>
  8. <version>${revision}</version>
  9. <name>RuoYi-Vue-Plus</name>
  10. <url>https://gitee.com/dromara/RuoYi-Vue-Plus</url>
  11. <description>Dromara RuoYi-Vue-Plus多租户管理系统</description>
  12. <properties>
  13. <revision>5.6.1</revision>
  14. <spring-boot.version>3.5.14</spring-boot.version>
  15. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  16. <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
  17. <java.version>17</java.version>
  18. <mybatis.version>3.5.19</mybatis.version>
  19. <springdoc.version>2.8.17</springdoc.version>
  20. <therapi-javadoc.version>0.15.0</therapi-javadoc.version>
  21. <fastexcel.version>1.3.0</fastexcel.version>
  22. <velocity.version>2.3</velocity.version>
  23. <satoken.version>1.45.0</satoken.version>
  24. <mybatis-plus.version>3.5.16</mybatis-plus.version>
  25. <p6spy.version>3.9.1</p6spy.version>
  26. <hutool.version>5.8.43</hutool.version>
  27. <spring-boot-admin.version>3.5.8</spring-boot-admin.version>
  28. <redisson.version>3.52.0</redisson.version>
  29. <lock4j.version>2.2.7</lock4j.version>
  30. <dynamic-ds.version>4.3.1</dynamic-ds.version>
  31. <snailjob.version>1.10.0</snailjob.version>
  32. <mapstruct-plus.version>1.5.0</mapstruct-plus.version>
  33. <mapstruct-plus.lombok.version>0.2.0</mapstruct-plus.lombok.version>
  34. <lombok.version>1.18.44</lombok.version>
  35. <bouncycastle.version>1.83</bouncycastle.version>
  36. <justauth.version>1.16.7</justauth.version>
  37. <!-- 离线IP地址定位库 -->
  38. <ip2region.version>3.3.7</ip2region.version>
  39. <!-- OSS 配置 -->
  40. <aws.sdk.version>2.28.22</aws.sdk.version>
  41. <!-- SMS 配置 -->
  42. <sms4j.version>3.3.5</sms4j.version>
  43. <!-- 限制框架中的fastjson版本 -->
  44. <fastjson.version>1.2.83</fastjson.version>
  45. <!-- 面向运行时的D-ORM依赖 -->
  46. <anyline.version>8.7.3-20260319</anyline.version>
  47. <!-- 工作流配置 -->
  48. <warm-flow.version>1.8.5</warm-flow.version>
  49. <!-- 插件版本 -->
  50. <maven-jar-plugin.version>3.4.2</maven-jar-plugin.version>
  51. <maven-war-plugin.version>3.4.0</maven-war-plugin.version>
  52. <maven-compiler-plugin.version>3.14.0</maven-compiler-plugin.version>
  53. <maven-surefire-plugin.version>3.5.3</maven-surefire-plugin.version>
  54. <flatten-maven-plugin.version>1.3.0</flatten-maven-plugin.version>
  55. <!-- 打包默认跳过测试 -->
  56. <skipTests>true</skipTests>
  57. </properties>
  58. <profiles>
  59. <profile>
  60. <id>local</id>
  61. <properties>
  62. <profiles.active>local</profiles.active>
  63. <logging.level>info</logging.level>
  64. <monitor.username>ruoyi</monitor.username>
  65. <monitor.password>123456</monitor.password>
  66. </properties>
  67. </profile>
  68. <profile>
  69. <id>dev</id>
  70. <properties>
  71. <profiles.active>dev</profiles.active>
  72. <logging.level>info</logging.level>
  73. <monitor.username>ruoyi</monitor.username>
  74. <monitor.password>123456</monitor.password>
  75. </properties>
  76. <activation>
  77. <activeByDefault>true</activeByDefault>
  78. </activation>
  79. </profile>
  80. <profile>
  81. <id>prod</id>
  82. <properties>
  83. <profiles.active>prod</profiles.active>
  84. <logging.level>info</logging.level>
  85. <monitor.username>ruoyi</monitor.username>
  86. <monitor.password>123456</monitor.password>
  87. </properties>
  88. </profile>
  89. </profiles>
  90. <!-- 依赖声明 -->
  91. <dependencyManagement>
  92. <dependencies>
  93. <!-- SpringBoot的依赖配置-->
  94. <dependency>
  95. <groupId>org.springframework.boot</groupId>
  96. <artifactId>spring-boot-dependencies</artifactId>
  97. <version>${spring-boot.version}</version>
  98. <type>pom</type>
  99. <scope>import</scope>
  100. </dependency>
  101. <!-- hutool 的依赖配置-->
  102. <dependency>
  103. <groupId>cn.hutool</groupId>
  104. <artifactId>hutool-bom</artifactId>
  105. <version>${hutool.version}</version>
  106. <type>pom</type>
  107. <scope>import</scope>
  108. </dependency>
  109. <!-- common 的依赖配置-->
  110. <dependency>
  111. <groupId>org.dromara</groupId>
  112. <artifactId>ruoyi-common-bom</artifactId>
  113. <version>${revision}</version>
  114. <type>pom</type>
  115. <scope>import</scope>
  116. </dependency>
  117. <!-- yingpaipay-api 的依赖配置-->
  118. <dependency>
  119. <groupId>org.dromara</groupId>
  120. <artifactId>yingpaipay-api-bom</artifactId>
  121. <version>${revision}</version>
  122. <type>pom</type>
  123. <scope>import</scope>
  124. </dependency>
  125. <dependency>
  126. <groupId>org.springdoc</groupId>
  127. <artifactId>springdoc-openapi-starter-webmvc-api</artifactId>
  128. <version>${springdoc.version}</version>
  129. </dependency>
  130. <dependency>
  131. <groupId>com.github.therapi</groupId>
  132. <artifactId>therapi-runtime-javadoc</artifactId>
  133. <version>${therapi-javadoc.version}</version>
  134. </dependency>
  135. <dependency>
  136. <groupId>org.projectlombok</groupId>
  137. <artifactId>lombok</artifactId>
  138. <version>${lombok.version}</version>
  139. </dependency>
  140. <dependency>
  141. <groupId>cn.idev.excel</groupId>
  142. <artifactId>fastexcel</artifactId>
  143. <version>${fastexcel.version}</version>
  144. </dependency>
  145. <!-- velocity代码生成使用模板 -->
  146. <dependency>
  147. <groupId>org.apache.velocity</groupId>
  148. <artifactId>velocity-engine-core</artifactId>
  149. <version>${velocity.version}</version>
  150. </dependency>
  151. <!-- Sa-Token 权限认证, 在线文档:http://sa-token.dev33.cn/ -->
  152. <dependency>
  153. <groupId>cn.dev33</groupId>
  154. <artifactId>sa-token-spring-boot3-starter</artifactId>
  155. <version>${satoken.version}</version>
  156. </dependency>
  157. <!-- Sa-Token 整合 jwt -->
  158. <dependency>
  159. <groupId>cn.dev33</groupId>
  160. <artifactId>sa-token-jwt</artifactId>
  161. <version>${satoken.version}</version>
  162. <exclusions>
  163. <exclusion>
  164. <groupId>cn.hutool</groupId>
  165. <artifactId>hutool-all</artifactId>
  166. </exclusion>
  167. </exclusions>
  168. </dependency>
  169. <dependency>
  170. <groupId>cn.dev33</groupId>
  171. <artifactId>sa-token-core</artifactId>
  172. <version>${satoken.version}</version>
  173. </dependency>
  174. <!-- dynamic-datasource 多数据源-->
  175. <dependency>
  176. <groupId>com.baomidou</groupId>
  177. <artifactId>dynamic-datasource-spring-boot3-starter</artifactId>
  178. <version>${dynamic-ds.version}</version>
  179. </dependency>
  180. <dependency>
  181. <groupId>org.mybatis</groupId>
  182. <artifactId>mybatis</artifactId>
  183. <version>${mybatis.version}</version>
  184. </dependency>
  185. <dependency>
  186. <groupId>com.baomidou</groupId>
  187. <artifactId>mybatis-plus-spring-boot3-starter</artifactId>
  188. <version>${mybatis-plus.version}</version>
  189. </dependency>
  190. <dependency>
  191. <groupId>com.baomidou</groupId>
  192. <artifactId>mybatis-plus-jsqlparser</artifactId>
  193. <version>${mybatis-plus.version}</version>
  194. </dependency>
  195. <dependency>
  196. <groupId>com.baomidou</groupId>
  197. <artifactId>mybatis-plus-annotation</artifactId>
  198. <version>${mybatis-plus.version}</version>
  199. </dependency>
  200. <!-- sql性能分析插件 -->
  201. <dependency>
  202. <groupId>p6spy</groupId>
  203. <artifactId>p6spy</artifactId>
  204. <version>${p6spy.version}</version>
  205. </dependency>
  206. <!-- AWS SDK for Java 2.x -->
  207. <dependency>
  208. <groupId>software.amazon.awssdk</groupId>
  209. <artifactId>s3</artifactId>
  210. <version>${aws.sdk.version}</version>
  211. </dependency>
  212. <!-- 客户端的性能增强传输管理器 -->
  213. <dependency>
  214. <groupId>software.amazon.awssdk</groupId>
  215. <artifactId>s3-transfer-manager</artifactId>
  216. <version>${aws.sdk.version}</version>
  217. </dependency>
  218. <!-- 适用于 Netty 的客户端 -->
  219. <dependency>
  220. <groupId>software.amazon.awssdk</groupId>
  221. <artifactId>netty-nio-client</artifactId>
  222. <version>${aws.sdk.version}</version>
  223. </dependency>
  224. <!--短信sms4j-->
  225. <dependency>
  226. <groupId>org.dromara.sms4j</groupId>
  227. <artifactId>sms4j-spring-boot-starter</artifactId>
  228. <version>${sms4j.version}</version>
  229. </dependency>
  230. <dependency>
  231. <groupId>de.codecentric</groupId>
  232. <artifactId>spring-boot-admin-starter-server</artifactId>
  233. <version>${spring-boot-admin.version}</version>
  234. </dependency>
  235. <dependency>
  236. <groupId>de.codecentric</groupId>
  237. <artifactId>spring-boot-admin-starter-client</artifactId>
  238. <version>${spring-boot-admin.version}</version>
  239. </dependency>
  240. <!--redisson-->
  241. <dependency>
  242. <groupId>org.redisson</groupId>
  243. <artifactId>redisson-spring-boot-starter</artifactId>
  244. <version>${redisson.version}</version>
  245. </dependency>
  246. <dependency>
  247. <groupId>com.baomidou</groupId>
  248. <artifactId>lock4j-redisson-spring-boot-starter</artifactId>
  249. <version>${lock4j.version}</version>
  250. </dependency>
  251. <!-- SnailJob Client -->
  252. <dependency>
  253. <groupId>com.aizuda</groupId>
  254. <artifactId>snail-job-client-starter</artifactId>
  255. <version>${snailjob.version}</version>
  256. </dependency>
  257. <dependency>
  258. <groupId>com.aizuda</groupId>
  259. <artifactId>snail-job-client-job-core</artifactId>
  260. <version>${snailjob.version}</version>
  261. </dependency>
  262. <!-- 加密包引入 -->
  263. <dependency>
  264. <groupId>org.bouncycastle</groupId>
  265. <artifactId>bcpkix-jdk18on</artifactId>
  266. <version>${bouncycastle.version}</version>
  267. </dependency>
  268. <dependency>
  269. <groupId>io.github.linpeilie</groupId>
  270. <artifactId>mapstruct-plus-spring-boot-starter</artifactId>
  271. <version>${mapstruct-plus.version}</version>
  272. </dependency>
  273. <!-- Warm-Flow国产工作流引擎, 在线文档:http://warm-flow.cn/ -->
  274. <dependency>
  275. <groupId>org.dromara.warm</groupId>
  276. <artifactId>warm-flow-mybatis-plus-sb3-starter</artifactId>
  277. <version>${warm-flow.version}</version>
  278. </dependency>
  279. <dependency>
  280. <groupId>org.dromara.warm</groupId>
  281. <artifactId>warm-flow-plugin-ui-sb-web</artifactId>
  282. <version>${warm-flow.version}</version>
  283. </dependency>
  284. <!-- JustAuth 的依赖配置-->
  285. <dependency>
  286. <groupId>me.zhyd.oauth</groupId>
  287. <artifactId>JustAuth</artifactId>
  288. <version>${justauth.version}</version>
  289. </dependency>
  290. <!-- 离线IP地址定位库 ip2region -->
  291. <dependency>
  292. <groupId>org.lionsoul</groupId>
  293. <artifactId>ip2region</artifactId>
  294. <version>${ip2region.version}</version>
  295. </dependency>
  296. <dependency>
  297. <groupId>com.alibaba</groupId>
  298. <artifactId>fastjson</artifactId>
  299. <version>${fastjson.version}</version>
  300. </dependency>
  301. <dependency>
  302. <groupId>org.dromara</groupId>
  303. <artifactId>ruoyi-system</artifactId>
  304. <version>${revision}</version>
  305. </dependency>
  306. <dependency>
  307. <groupId>org.dromara</groupId>
  308. <artifactId>ruoyi-job</artifactId>
  309. <version>${revision}</version>
  310. </dependency>
  311. <dependency>
  312. <groupId>org.dromara</groupId>
  313. <artifactId>ruoyi-generator</artifactId>
  314. <version>${revision}</version>
  315. </dependency>
  316. <dependency>
  317. <groupId>org.dromara</groupId>
  318. <artifactId>ruoyi-demo</artifactId>
  319. <version>${revision}</version>
  320. </dependency>
  321. <!-- 工作流模块 -->
  322. <dependency>
  323. <groupId>org.dromara</groupId>
  324. <artifactId>ruoyi-workflow</artifactId>
  325. <version>${revision}</version>
  326. </dependency>
  327. <!-- 盈派支付 ERP 数据对接模块 -->
  328. <dependency>
  329. <groupId>org.dromara</groupId>
  330. <artifactId>yingpaipay-erp</artifactId>
  331. <version>${revision}</version>
  332. </dependency>
  333. </dependencies>
  334. </dependencyManagement>
  335. <modules>
  336. <module>yingpaipay-api/yingpaipay-api-bom</module>
  337. <module>yingpaipay-api</module>
  338. <module>ruoyi-admin</module>
  339. <module>ruoyi-common</module>
  340. <module>ruoyi-extend</module>
  341. <module>ruoyi-modules</module>
  342. </modules>
  343. <packaging>pom</packaging>
  344. <build>
  345. <plugins>
  346. <plugin>
  347. <groupId>org.apache.maven.plugins</groupId>
  348. <artifactId>maven-compiler-plugin</artifactId>
  349. <version>${maven-compiler-plugin.version}</version>
  350. <configuration>
  351. <release>${java.version}</release>
  352. <encoding>${project.build.sourceEncoding}</encoding>
  353. <annotationProcessorPaths>
  354. <path>
  355. <groupId>com.github.therapi</groupId>
  356. <artifactId>therapi-runtime-javadoc-scribe</artifactId>
  357. <version>${therapi-javadoc.version}</version>
  358. </path>
  359. <path>
  360. <groupId>org.projectlombok</groupId>
  361. <artifactId>lombok</artifactId>
  362. <version>${lombok.version}</version>
  363. </path>
  364. <path>
  365. <groupId>org.springframework.boot</groupId>
  366. <artifactId>spring-boot-configuration-processor</artifactId>
  367. <version>${spring-boot.version}</version>
  368. </path>
  369. <path>
  370. <groupId>io.github.linpeilie</groupId>
  371. <artifactId>mapstruct-plus-processor</artifactId>
  372. <version>${mapstruct-plus.version}</version>
  373. </path>
  374. <path>
  375. <groupId>org.projectlombok</groupId>
  376. <artifactId>lombok-mapstruct-binding</artifactId>
  377. <version>${mapstruct-plus.lombok.version}</version>
  378. </path>
  379. </annotationProcessorPaths>
  380. <compilerArgs>
  381. <arg>-parameters</arg>
  382. </compilerArgs>
  383. </configuration>
  384. </plugin>
  385. <!-- 单元测试使用 -->
  386. <plugin>
  387. <groupId>org.apache.maven.plugins</groupId>
  388. <artifactId>maven-surefire-plugin</artifactId>
  389. <version>${maven-surefire-plugin.version}</version>
  390. <configuration>
  391. <argLine>-Dfile.encoding=UTF-8</argLine>
  392. <!-- 根据打包环境执行对应的@Tag测试方法 -->
  393. <groups>${profiles.active}</groups>
  394. <!-- 排除标签 -->
  395. <excludedGroups>exclude</excludedGroups>
  396. </configuration>
  397. </plugin>
  398. <!-- 统一版本号管理 -->
  399. <plugin>
  400. <groupId>org.codehaus.mojo</groupId>
  401. <artifactId>flatten-maven-plugin</artifactId>
  402. <version>${flatten-maven-plugin.version}</version>
  403. <configuration>
  404. <updatePomFile>true</updatePomFile>
  405. <flattenMode>resolveCiFriendliesOnly</flattenMode>
  406. </configuration>
  407. <executions>
  408. <execution>
  409. <id>flatten</id>
  410. <phase>process-resources</phase>
  411. <goals>
  412. <goal>flatten</goal>
  413. </goals>
  414. </execution>
  415. <execution>
  416. <id>flatten.clean</id>
  417. <phase>clean</phase>
  418. <goals>
  419. <goal>clean</goal>
  420. </goals>
  421. </execution>
  422. </executions>
  423. </plugin>
  424. </plugins>
  425. <resources>
  426. <resource>
  427. <directory>src/main/resources</directory>
  428. <!-- 关闭过滤 -->
  429. <filtering>false</filtering>
  430. </resource>
  431. <resource>
  432. <directory>src/main/resources</directory>
  433. <!-- 引入所有 匹配文件进行过滤 -->
  434. <includes>
  435. <include>application*</include>
  436. <include>bootstrap*</include>
  437. <include>banner*</include>
  438. </includes>
  439. <!-- 启用过滤 即该资源中的变量将会被过滤器中的值替换 -->
  440. <filtering>true</filtering>
  441. </resource>
  442. </resources>
  443. </build>
  444. <repositories>
  445. <repository>
  446. <id>public</id>
  447. <name>huawei nexus</name>
  448. <url>https://mirrors.huaweicloud.com/repository/maven/</url>
  449. <releases>
  450. <enabled>true</enabled>
  451. </releases>
  452. </repository>
  453. </repositories>
  454. <pluginRepositories>
  455. <pluginRepository>
  456. <id>public</id>
  457. <name>huawei nexus</name>
  458. <url>https://mirrors.huaweicloud.com/repository/maven/</url>
  459. <releases>
  460. <enabled>true</enabled>
  461. </releases>
  462. <snapshots>
  463. <enabled>false</enabled>
  464. </snapshots>
  465. </pluginRepository>
  466. </pluginRepositories>
  467. </project>