pom.xml 20 KB

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