pom.xml 27 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719
  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
  5. http://maven.apache.org/xsd/maven-4.0.0.xsd">
  6. <modelVersion>4.0.0</modelVersion>
  7. <groupId>com.emoon</groupId>
  8. <artifactId>emoon-backend</artifactId>
  9. <version>${revision}</version>
  10. <name>emoon-admin</name>
  11. <url>https://gitee.com/destinywk/RuoYi-Vue-Plus</url>
  12. <description>emoon 多租户管理系统</description>
  13. <properties>
  14. <revision>5.4.1</revision>
  15. <spring-boot.version>3.4.7</spring-boot.version>
  16. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  17. <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
  18. <java.version>17</java.version>
  19. <mybatis.version>3.5.16</mybatis.version>
  20. <springdoc.version>2.8.8</springdoc.version>
  21. <therapi-javadoc.version>0.15.0</therapi-javadoc.version>
  22. <fastexcel.version>1.2.0</fastexcel.version>
  23. <velocity.version>2.3</velocity.version>
  24. <satoken.version>1.44.0</satoken.version>
  25. <mybatis-plus.version>3.5.12</mybatis-plus.version>
  26. <p6spy.version>3.9.1</p6spy.version>
  27. <hutool.version>5.8.38</hutool.version>
  28. <spring-boot-admin.version>3.4.7</spring-boot-admin.version>
  29. <redisson.version>3.50.0</redisson.version>
  30. <lock4j.version>2.2.7</lock4j.version>
  31. <dynamic-ds.version>4.3.1</dynamic-ds.version>
  32. <snailjob.version>1.5.0</snailjob.version>
  33. <mapstruct-plus.version>1.4.8</mapstruct-plus.version>
  34. <mapstruct-plus.lombok.version>0.2.0</mapstruct-plus.lombok.version>
  35. <lombok.version>1.18.36</lombok.version>
  36. <bouncycastle.version>1.80</bouncycastle.version>
  37. <justauth.version>1.16.7</justauth.version>
  38. <!-- 离线IP地址定位库 -->
  39. <ip2region.version>2.7.0</ip2region.version>
  40. <!-- OSS 配置 -->
  41. <aws.sdk.version>2.28.22</aws.sdk.version>
  42. <!-- SMS 配置 -->
  43. <sms4j.version>3.3.4</sms4j.version>
  44. <!-- 限制框架中的fastjson版本 -->
  45. <fastjson.version>1.2.83</fastjson.version>
  46. <!-- 面向运行时的D-ORM依赖 -->
  47. <anyline.version>8.7.2-20250603</anyline.version>
  48. <!-- 工作流配置 -->
  49. <warm-flow.version>1.7.4</warm-flow.version>
  50. <!-- 插件版本 -->
  51. <maven-jar-plugin.version>3.4.2</maven-jar-plugin.version>
  52. <maven-war-plugin.version>3.4.0</maven-war-plugin.version>
  53. <maven-compiler-plugin.version>3.14.0</maven-compiler-plugin.version>
  54. <maven-surefire-plugin.version>3.5.3</maven-surefire-plugin.version>
  55. <flatten-maven-plugin.version>1.3.0</flatten-maven-plugin.version>
  56. <!-- 打包默认跳过测试 -->
  57. <skipTests>true</skipTests>
  58. <langchain4j.version>1.0.0-beta4</langchain4j.version>
  59. <okhttp.version>4.10.0</okhttp.version>
  60. <jjwt-api.version>0.12.5</jjwt-api.version>
  61. <sqlite-jdbc.version>3.53.1.0</sqlite-jdbc.version>
  62. </properties>
  63. <profiles>
  64. <profile>
  65. <id>local</id>
  66. <properties>
  67. <!-- 环境标识,需要与配置文件的名称相对应 -->
  68. <profiles.active>local</profiles.active>
  69. <logging.level>info</logging.level>
  70. <monitor.username>ruoyi</monitor.username>
  71. <monitor.password>123456</monitor.password>
  72. </properties>
  73. </profile>
  74. <profile>
  75. <id>dev</id>
  76. <properties>
  77. <!-- 环境标识,需要与配置文件的名称相对应 -->
  78. <profiles.active>dev</profiles.active>
  79. <logging.level>info</logging.level>
  80. <monitor.username>ruoyi</monitor.username>
  81. <monitor.password>123456</monitor.password>
  82. </properties>
  83. <activation>
  84. <!-- 默认环境 -->
  85. <activeByDefault>true</activeByDefault>
  86. </activation>
  87. </profile>
  88. <profile>
  89. <id>prod</id>
  90. <properties>
  91. <profiles.active>prod</profiles.active>
  92. <logging.level>warn</logging.level>
  93. <monitor.username>ruoyi</monitor.username>
  94. <monitor.password>123456</monitor.password>
  95. </properties>
  96. </profile>
  97. </profiles>
  98. <!-- 依赖声明 -->
  99. <dependencyManagement>
  100. <dependencies>
  101. <!-- SpringBoot的依赖配置-->
  102. <dependency>
  103. <groupId>org.springframework.boot</groupId>
  104. <artifactId>spring-boot-dependencies</artifactId>
  105. <version>${spring-boot.version}</version>
  106. <type>pom</type>
  107. <scope>import</scope>
  108. </dependency>
  109. <!-- hutool 的依赖配置-->
  110. <dependency>
  111. <groupId>cn.hutool</groupId>
  112. <artifactId>hutool-bom</artifactId>
  113. <version>${hutool.version}</version>
  114. <type>pom</type>
  115. <scope>import</scope>
  116. </dependency>
  117. <!-- Warm-Flow国产工作流引擎, 在线文档:http://warm-flow.cn/ -->
  118. <dependency>
  119. <groupId>com.emoon.warm</groupId>
  120. <artifactId>warm-flow-mybatis-plus-sb3-starter</artifactId>
  121. <version>${warm-flow.version}</version>
  122. </dependency>
  123. <dependency>
  124. <groupId>com.emoon.warm</groupId>
  125. <artifactId>warm-flow-plugin-ui-sb-web</artifactId>
  126. <version>${warm-flow.version}</version>
  127. </dependency>
  128. <!-- JustAuth 的依赖配置-->
  129. <dependency>
  130. <groupId>me.zhyd.oauth</groupId>
  131. <artifactId>JustAuth</artifactId>
  132. <version>${justauth.version}</version>
  133. </dependency>
  134. <!-- common 的依赖配置-->
  135. <dependency>
  136. <groupId>com.emoon</groupId>
  137. <artifactId>emoon-common-bom</artifactId>
  138. <version>${revision}</version>
  139. <type>pom</type>
  140. <scope>import</scope>
  141. </dependency>
  142. <dependency>
  143. <groupId>org.springdoc</groupId>
  144. <artifactId>springdoc-openapi-starter-webmvc-api</artifactId>
  145. <version>${springdoc.version}</version>
  146. </dependency>
  147. <dependency>
  148. <groupId>org.xerial</groupId>
  149. <artifactId>sqlite-jdbc</artifactId>
  150. <version>${sqlite-jdbc.version}</version>
  151. </dependency>
  152. <dependency>
  153. <groupId>com.github.therapi</groupId>
  154. <artifactId>therapi-runtime-javadoc</artifactId>
  155. <version>${therapi-javadoc.version}</version>
  156. </dependency>
  157. <dependency>
  158. <groupId>org.projectlombok</groupId>
  159. <artifactId>lombok</artifactId>
  160. <version>${lombok.version}</version>
  161. </dependency>
  162. <dependency>
  163. <groupId>cn.idev.excel</groupId>
  164. <artifactId>fastexcel</artifactId>
  165. <version>${fastexcel.version}</version>
  166. </dependency>
  167. <!-- velocity代码生成使用模板 -->
  168. <dependency>
  169. <groupId>org.apache.velocity</groupId>
  170. <artifactId>velocity-engine-core</artifactId>
  171. <version>${velocity.version}</version>
  172. </dependency>
  173. <!-- Sa-Token 权限认证, 在线文档:http://sa-token.dev33.cn/ -->
  174. <dependency>
  175. <groupId>cn.dev33</groupId>
  176. <artifactId>sa-token-spring-boot3-starter</artifactId>
  177. <version>${satoken.version}</version>
  178. </dependency>
  179. <!-- Sa-Token 整合 jwt -->
  180. <dependency>
  181. <groupId>cn.dev33</groupId>
  182. <artifactId>sa-token-jwt</artifactId>
  183. <version>${satoken.version}</version>
  184. <exclusions>
  185. <exclusion>
  186. <groupId>cn.hutool</groupId>
  187. <artifactId>hutool-all</artifactId>
  188. </exclusion>
  189. </exclusions>
  190. </dependency>
  191. <dependency>
  192. <groupId>cn.dev33</groupId>
  193. <artifactId>sa-token-core</artifactId>
  194. <version>${satoken.version}</version>
  195. </dependency>
  196. <!-- dynamic-datasource 多数据源-->
  197. <dependency>
  198. <groupId>com.baomidou</groupId>
  199. <artifactId>dynamic-datasource-spring-boot3-starter</artifactId>
  200. <version>${dynamic-ds.version}</version>
  201. </dependency>
  202. <dependency>
  203. <groupId>org.mybatis</groupId>
  204. <artifactId>mybatis</artifactId>
  205. <version>${mybatis.version}</version>
  206. </dependency>
  207. <dependency>
  208. <groupId>com.baomidou</groupId>
  209. <artifactId>mybatis-plus-spring-boot3-starter</artifactId>
  210. <version>${mybatis-plus.version}</version>
  211. </dependency>
  212. <dependency>
  213. <groupId>com.baomidou</groupId>
  214. <artifactId>mybatis-plus-jsqlparser</artifactId>
  215. <version>${mybatis-plus.version}</version>
  216. </dependency>
  217. <dependency>
  218. <groupId>com.baomidou</groupId>
  219. <artifactId>mybatis-plus-annotation</artifactId>
  220. <version>${mybatis-plus.version}</version>
  221. </dependency>
  222. <!-- sql性能分析插件 -->
  223. <dependency>
  224. <groupId>p6spy</groupId>
  225. <artifactId>p6spy</artifactId>
  226. <version>${p6spy.version}</version>
  227. </dependency>
  228. <!-- AWS SDK for Java 2.x -->
  229. <dependency>
  230. <groupId>software.amazon.awssdk</groupId>
  231. <artifactId>s3</artifactId>
  232. <version>${aws.sdk.version}</version>
  233. </dependency>
  234. <!-- 基于 AWS CRT 的 S3 客户端的性能增强的 S3 传输管理器 -->
  235. <dependency>
  236. <groupId>software.amazon.awssdk</groupId>
  237. <artifactId>s3-transfer-manager</artifactId>
  238. <version>${aws.sdk.version}</version>
  239. </dependency>
  240. <!-- 将基于 Netty 的 HTTP 客户端从类路径中移除 -->
  241. <dependency>
  242. <groupId>software.amazon.awssdk</groupId>
  243. <artifactId>netty-nio-client</artifactId>
  244. <version>${aws.sdk.version}</version>
  245. </dependency>
  246. <!--短信sms4j-->
  247. <dependency>
  248. <groupId>org.dromara.sms4j</groupId>
  249. <artifactId>sms4j-spring-boot-starter</artifactId>
  250. <version>${sms4j.version}</version>
  251. </dependency>
  252. <dependency>
  253. <groupId>de.codecentric</groupId>
  254. <artifactId>spring-boot-admin-starter-server</artifactId>
  255. <version>${spring-boot-admin.version}</version>
  256. </dependency>
  257. <dependency>
  258. <groupId>de.codecentric</groupId>
  259. <artifactId>spring-boot-admin-starter-client</artifactId>
  260. <version>${spring-boot-admin.version}</version>
  261. </dependency>
  262. <!--redisson-->
  263. <dependency>
  264. <groupId>org.redisson</groupId>
  265. <artifactId>redisson-spring-boot-starter</artifactId>
  266. <version>${redisson.version}</version>
  267. </dependency>
  268. <dependency>
  269. <groupId>com.baomidou</groupId>
  270. <artifactId>lock4j-redisson-spring-boot-starter</artifactId>
  271. <version>${lock4j.version}</version>
  272. </dependency>
  273. <!-- SnailJob Client -->
  274. <dependency>
  275. <groupId>com.aizuda</groupId>
  276. <artifactId>snail-job-client-starter</artifactId>
  277. <version>${snailjob.version}</version>
  278. </dependency>
  279. <dependency>
  280. <groupId>com.aizuda</groupId>
  281. <artifactId>snail-job-client-job-core</artifactId>
  282. <version>${snailjob.version}</version>
  283. </dependency>
  284. <!-- 加密包引入 -->
  285. <dependency>
  286. <groupId>org.bouncycastle</groupId>
  287. <artifactId>bcprov-jdk15to18</artifactId>
  288. <version>${bouncycastle.version}</version>
  289. </dependency>
  290. <dependency>
  291. <groupId>io.github.linpeilie</groupId>
  292. <artifactId>mapstruct-plus-spring-boot-starter</artifactId>
  293. <version>${mapstruct-plus.version}</version>
  294. </dependency>
  295. <!-- 离线IP地址定位库 ip2region -->
  296. <dependency>
  297. <groupId>org.lionsoul</groupId>
  298. <artifactId>ip2region</artifactId>
  299. <version>${ip2region.version}</version>
  300. </dependency>
  301. <dependency>
  302. <groupId>com.alibaba</groupId>
  303. <artifactId>fastjson</artifactId>
  304. <version>${fastjson.version}</version>
  305. </dependency>
  306. <dependency>
  307. <groupId>com.emoon</groupId>
  308. <artifactId>emoon-system</artifactId>
  309. <version>${revision}</version>
  310. </dependency>
  311. <dependency>
  312. <groupId>com.emoon</groupId>
  313. <artifactId>emoon-job</artifactId>
  314. <version>${revision}</version>
  315. </dependency>
  316. <dependency>
  317. <groupId>com.emoon</groupId>
  318. <artifactId>emoon-generator</artifactId>
  319. <version>${revision}</version>
  320. </dependency>
  321. <dependency>
  322. <groupId>com.emoon</groupId>
  323. <artifactId>emoon-demo</artifactId>
  324. <version>${revision}</version>
  325. </dependency>
  326. <dependency>
  327. <groupId>com.emoon</groupId>
  328. <artifactId>emoon-migration</artifactId>
  329. <version>5.4.1</version>
  330. </dependency>
  331. <dependency>
  332. <groupId>com.emoon</groupId>
  333. <artifactId>emoon-mcp</artifactId>
  334. <version>${revision}</version>
  335. </dependency>
  336. <dependency>
  337. <groupId>com.emoon</groupId>
  338. <artifactId>emoon-ai-agent</artifactId>
  339. <version>${revision}</version>
  340. </dependency>
  341. <dependency>
  342. <groupId>com.emoon</groupId>
  343. <artifactId>emoon-ai-card</artifactId>
  344. <version>${revision}</version>
  345. </dependency>
  346. <dependency>
  347. <groupId>com.emoon</groupId>
  348. <artifactId>emoon-ai-mcp</artifactId>
  349. <version>${revision}</version>
  350. </dependency>
  351. <dependency>
  352. <groupId>com.emoon</groupId>
  353. <artifactId>emoon-ai-meter</artifactId>
  354. <version>${revision}</version>
  355. </dependency>
  356. <dependency>
  357. <groupId>com.emoon</groupId>
  358. <artifactId>emoon-ai-billing</artifactId>
  359. <version>${revision}</version>
  360. </dependency>
  361. <dependency>
  362. <groupId>com.emoon</groupId>
  363. <artifactId>emoon-ai-contract</artifactId>
  364. <version>${revision}</version>
  365. </dependency>
  366. <dependency>
  367. <groupId>com.emoon</groupId>
  368. <artifactId>emoon-ai-operation</artifactId>
  369. <version>${revision}</version>
  370. </dependency>
  371. <dependency>
  372. <groupId>com.emoon</groupId>
  373. <artifactId>emoon-chat</artifactId>
  374. <version>${revision}</version>
  375. </dependency>
  376. <dependency>
  377. <groupId>com.emoon</groupId>
  378. <artifactId>emoon-knowledge</artifactId>
  379. <version>${revision}</version>
  380. </dependency>
  381. <dependency>
  382. <groupId>com.emoon</groupId>
  383. <artifactId>emoon-mcp-api</artifactId>
  384. <version>${revision}</version>
  385. </dependency>
  386. <dependency>
  387. <groupId>com.emoon</groupId>
  388. <artifactId>emoon-ai-agent-api</artifactId>
  389. <version>${revision}</version>
  390. </dependency>
  391. <dependency>
  392. <groupId>com.emoon</groupId>
  393. <artifactId>emoon-ai-card-api</artifactId>
  394. <version>${revision}</version>
  395. </dependency>
  396. <dependency>
  397. <groupId>com.emoon</groupId>
  398. <artifactId>emoon-ai-mcp-api</artifactId>
  399. <version>${revision}</version>
  400. </dependency>
  401. <dependency>
  402. <groupId>com.emoon</groupId>
  403. <artifactId>emoon-ai-meter-api</artifactId>
  404. <version>${revision}</version>
  405. </dependency>
  406. <dependency>
  407. <groupId>com.emoon</groupId>
  408. <artifactId>emoon-ai-billing-api</artifactId>
  409. <version>${revision}</version>
  410. </dependency>
  411. <dependency>
  412. <groupId>com.emoon</groupId>
  413. <artifactId>emoon-ai-contract-api</artifactId>
  414. <version>${revision}</version>
  415. </dependency>
  416. <dependency>
  417. <groupId>com.emoon</groupId>
  418. <artifactId>emoon-ai-operation-api</artifactId>
  419. <version>${revision}</version>
  420. </dependency>
  421. <dependency>
  422. <groupId>com.emoon</groupId>
  423. <artifactId>emoon-ai-device-api</artifactId>
  424. <version>${revision}</version>
  425. </dependency>
  426. <dependency>
  427. <groupId>com.emoon</groupId>
  428. <artifactId>emoon-ai-file-api</artifactId>
  429. <version>${revision}</version>
  430. </dependency>
  431. <dependency>
  432. <groupId>com.emoon</groupId>
  433. <artifactId>emoon-ai-device</artifactId>
  434. <version>${revision}</version>
  435. </dependency>
  436. <dependency>
  437. <groupId>com.emoon</groupId>
  438. <artifactId>emoon-ai-file</artifactId>
  439. <version>${revision}</version>
  440. </dependency>
  441. <dependency>
  442. <groupId>com.emoon</groupId>
  443. <artifactId>emoon-chat-api</artifactId>
  444. <version>${revision}</version>
  445. </dependency>
  446. <dependency>
  447. <groupId>com.emoon</groupId>
  448. <artifactId>emoon-knowledge-api</artifactId>
  449. <version>${revision}</version>
  450. </dependency>
  451. <dependency>
  452. <groupId>org.springframework.ai</groupId>
  453. <artifactId>spring-ai-bom</artifactId>
  454. <version>1.0.0</version>
  455. <type>pom</type>
  456. <scope>import</scope>
  457. </dependency>
  458. <dependency>
  459. <groupId>org.apache.tika</groupId>
  460. <artifactId>tika-parsers-standard-package</artifactId>
  461. <version>2.9.1</version>
  462. </dependency>
  463. <!-- <dependency>-->
  464. <!-- <groupId>org.springframework.cloud</groupId>-->
  465. <!-- <artifactId>spring-cloud-starter-openfeign</artifactId>-->
  466. <!-- <version>4.0.4</version>-->
  467. <!-- </dependency>-->
  468. <dependency>
  469. <groupId>dev.langchain4j</groupId>
  470. <artifactId>langchain4j-bom</artifactId>
  471. <version>${langchain4j.version}</version>
  472. <type>pom</type>
  473. <scope>import</scope>
  474. </dependency>
  475. <dependency>
  476. <groupId>com.squareup.okhttp3</groupId>
  477. <artifactId>okhttp</artifactId>
  478. <version>${okhttp.version}</version>
  479. </dependency>
  480. <dependency>
  481. <groupId>com.squareup.okhttp3</groupId>
  482. <artifactId>okhttp-sse</artifactId>
  483. <version>${okhttp.version}</version>
  484. </dependency>
  485. <dependency>
  486. <groupId>com.squareup.okhttp3</groupId>
  487. <artifactId>logging-interceptor</artifactId>
  488. <version>${okhttp.version}</version>
  489. </dependency>
  490. <dependency>
  491. <groupId>org.springframework.cloud</groupId>
  492. <artifactId>spring-cloud-openfeign-core</artifactId>
  493. <version>4.1.4</version>
  494. </dependency>
  495. <dependency>
  496. <groupId>org.springframework.cloud</groupId>
  497. <artifactId>spring-cloud-dependencies</artifactId>
  498. <version>2024.0.1</version>
  499. <type>pom</type>
  500. <scope>import</scope>
  501. </dependency>
  502. <!-- JJWT 核心依赖(包含 Jwts、Keys 等核心类) -->
  503. <dependency>
  504. <groupId>io.jsonwebtoken</groupId>
  505. <artifactId>jjwt-api</artifactId>
  506. <version>${jjwt-api.version}</version>
  507. </dependency>
  508. <!-- JJWT 实现(默认使用 Jackson 序列化) -->
  509. <dependency>
  510. <groupId>io.jsonwebtoken</groupId>
  511. <artifactId>jjwt-impl</artifactId>
  512. <version>${jjwt-api.version}</version>
  513. </dependency>
  514. <!-- JJWT Jackson 序列化支持(处理 JSON 格式的 JWT 载荷) -->
  515. <dependency>
  516. <groupId>io.jsonwebtoken</groupId>
  517. <artifactId>jjwt-jackson</artifactId>
  518. <version>${jjwt-api.version}</version>
  519. </dependency>
  520. </dependencies>
  521. </dependencyManagement>
  522. <modules>
  523. <module>emoon-admin</module>
  524. <module>emoon-infra</module>
  525. <module>emoon-extend</module>
  526. <module>emoon-openplatform</module>
  527. </modules>
  528. <packaging>pom</packaging>
  529. <build>
  530. <plugins>
  531. <plugin>
  532. <groupId>org.apache.maven.plugins</groupId>
  533. <artifactId>maven-compiler-plugin</artifactId>
  534. <version>${maven-compiler-plugin.version}</version>
  535. <configuration>
  536. <source>${java.version}</source>
  537. <target>${java.version}</target>
  538. <encoding>${project.build.sourceEncoding}</encoding>
  539. <annotationProcessorPaths>
  540. <path>
  541. <groupId>com.github.therapi</groupId>
  542. <artifactId>therapi-runtime-javadoc-scribe</artifactId>
  543. <version>${therapi-javadoc.version}</version>
  544. </path>
  545. <path>
  546. <groupId>org.projectlombok</groupId>
  547. <artifactId>lombok</artifactId>
  548. <version>${lombok.version}</version>
  549. </path>
  550. <path>
  551. <groupId>org.springframework.boot</groupId>
  552. <artifactId>spring-boot-configuration-processor</artifactId>
  553. <version>${spring-boot.version}</version>
  554. </path>
  555. <path>
  556. <groupId>io.github.linpeilie</groupId>
  557. <artifactId>mapstruct-plus-processor</artifactId>
  558. <version>${mapstruct-plus.version}</version>
  559. </path>
  560. <path>
  561. <groupId>org.projectlombok</groupId>
  562. <artifactId>lombok-mapstruct-binding</artifactId>
  563. <version>${mapstruct-plus.lombok.version}</version>
  564. </path>
  565. </annotationProcessorPaths>
  566. <compilerArgs>
  567. <arg>-parameters</arg>
  568. </compilerArgs>
  569. </configuration>
  570. </plugin>
  571. <!-- 单元测试使用 -->
  572. <plugin>
  573. <groupId>org.apache.maven.plugins</groupId>
  574. <artifactId>maven-surefire-plugin</artifactId>
  575. <version>${maven-surefire-plugin.version}</version>
  576. <configuration>
  577. <argLine>-Dfile.encoding=UTF-8</argLine>
  578. <!-- 根据打包环境执行对应的@Tag测试方法 -->
  579. <groups>${profiles.active}</groups>
  580. <!-- 排除标签 -->
  581. <excludedGroups>exclude</excludedGroups>
  582. </configuration>
  583. </plugin>
  584. <!-- 统一版本号管理 -->
  585. <plugin>
  586. <groupId>org.codehaus.mojo</groupId>
  587. <artifactId>flatten-maven-plugin</artifactId>
  588. <version>${flatten-maven-plugin.version}</version>
  589. <configuration>
  590. <updatePomFile>true</updatePomFile>
  591. <flattenMode>resolveCiFriendliesOnly</flattenMode>
  592. </configuration>
  593. <executions>
  594. <execution>
  595. <id>flatten</id>
  596. <phase>process-resources</phase>
  597. <goals>
  598. <goal>flatten</goal>
  599. </goals>
  600. </execution>
  601. <execution>
  602. <id>flatten.clean</id>
  603. <phase>clean</phase>
  604. <goals>
  605. <goal>clean</goal>
  606. </goals>
  607. </execution>
  608. </executions>
  609. </plugin>
  610. </plugins>
  611. <resources>
  612. <resource>
  613. <directory>src/main/resources</directory>
  614. <!-- 关闭过滤 -->
  615. <filtering>false</filtering>
  616. </resource>
  617. <resource>
  618. <directory>src/main/resources</directory>
  619. <!-- 引入所有 匹配文件进行过滤 -->
  620. <includes>
  621. <include>application*</include>
  622. <include>bootstrap*</include>
  623. <include>banner*</include>
  624. </includes>
  625. <!-- 启用过滤 即该资源中的变量将会被过滤器中的值替换 -->
  626. <filtering>true</filtering>
  627. </resource>
  628. </resources>
  629. </build>
  630. <pluginRepositories>
  631. <pluginRepository>
  632. <id>public</id>
  633. <name>huawei nexus</name>
  634. <url>https://mirrors.huaweicloud.com/repository/maven/</url>
  635. <releases>
  636. <enabled>true</enabled>
  637. </releases>
  638. <snapshots>
  639. <enabled>false</enabled>
  640. </snapshots>
  641. </pluginRepository>
  642. </pluginRepositories>
  643. </project>