数字人管理平台
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

507 lines
19 KiB

  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.xueyi</groupId>
  7. <artifactId>xueyi</artifactId>
  8. <version>2.5.0</version>
  9. <name>xueyi</name>
  10. <url>https://xueyitt.cn</url>
  11. <description>雪忆管理系统</description>
  12. <properties>
  13. <xueyi.version>2.5.0</xueyi.version>
  14. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  15. <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
  16. <maven-compiler-plugin.version>3.10.1</maven-compiler-plugin.version>
  17. <java.version>17</java.version>
  18. <spring-boot.version>2.7.7</spring-boot.version>
  19. <spring-cloud.version>2021.0.5</spring-cloud.version>
  20. <spring-cloud-alibaba.version>2021.0.4.0</spring-cloud-alibaba.version>
  21. <spring-boot-admin.version>2.7.10</spring-boot-admin.version>
  22. <mybatis-plus.version>3.5.3</mybatis-plus.version>
  23. <pagehelper.version>5.3.2</pagehelper.version>
  24. <netty.version>4.1.67.Final</netty.version>
  25. <spring-doc.version>1.6.13</spring-doc.version>
  26. <tobato.version>1.27.2</tobato.version>
  27. <kaptcha.version>2.3.3</kaptcha.version>
  28. <druid.version>1.2.16</druid.version>
  29. <dynamic-ds.version>3.5.2</dynamic-ds.version>
  30. <commons.io.version>2.11.0</commons.io.version>
  31. <velocity.version>2.3</velocity.version>
  32. <fastjson2.version>2.0.24</fastjson2.version>
  33. <minio.version>8.2.2</minio.version>
  34. <poi.version>4.1.2</poi.version>
  35. <hutool.version>5.8.11</hutool.version>
  36. <jjwt.version>0.9.1</jjwt.version>
  37. <lombok.version>1.18.24</lombok.version>
  38. <mapstruct.version>1.5.3.Final</mapstruct.version>
  39. <lombok-mapstruct-binding.version>0.2.0</lombok-mapstruct-binding.version>
  40. <transmittable-thread-local.version>2.14.2</transmittable-thread-local.version>
  41. <sonar.java.spotbugs.reportPaths>./target/findbugsXml.xml</sonar.java.spotbugs.reportPaths>
  42. <sonar.java.pmd.reportPaths>./target/pmd.xml</sonar.java.pmd.reportPaths>
  43. <sonar.java.checkstyle.reportPaths>./target/checkstyle-result.xml</sonar.java.checkstyle.reportPaths>
  44. <sonar.login>admin</sonar.login>
  45. <sonar.password>Digimeta@2023</sonar.password>
  46. <jakarta-json.version>2.0.1</jakarta-json.version>
  47. <elasticsearch.version>8.3.3</elasticsearch.version>
  48. </properties>
  49. <!-- 依赖声明 -->
  50. <dependencyManagement>
  51. <dependencies>
  52. <!-- SpringCloud 微服务 -->
  53. <dependency>
  54. <groupId>org.springframework.cloud</groupId>
  55. <artifactId>spring-cloud-dependencies</artifactId>
  56. <version>${spring-cloud.version}</version>
  57. <type>pom</type>
  58. <scope>import</scope>
  59. </dependency>
  60. <!-- SpringCloud Alibaba 微服务 -->
  61. <dependency>
  62. <groupId>com.alibaba.cloud</groupId>
  63. <artifactId>spring-cloud-alibaba-dependencies</artifactId>
  64. <version>${spring-cloud-alibaba.version}</version>
  65. <type>pom</type>
  66. <scope>import</scope>
  67. </dependency>
  68. <!-- SpringBoot 依赖配置 -->
  69. <dependency>
  70. <groupId>org.springframework.boot</groupId>
  71. <artifactId>spring-boot-dependencies</artifactId>
  72. <version>${spring-boot.version}</version>
  73. <type>pom</type>
  74. <scope>import</scope>
  75. </dependency>
  76. <!-- FastDFS 分布式文件系统 -->
  77. <dependency>
  78. <groupId>com.github.tobato</groupId>
  79. <artifactId>fastdfs-client</artifactId>
  80. <version>${tobato.version}</version>
  81. </dependency>
  82. <!-- Mybatis-Plus 依赖配置 -->
  83. <dependency>
  84. <groupId>com.baomidou</groupId>
  85. <artifactId>mybatis-plus-boot-starter</artifactId>
  86. <version>${mybatis-plus.version}</version>
  87. </dependency>
  88. <!-- pageHelper 分页插件 -->
  89. <dependency>
  90. <groupId>com.github.pagehelper</groupId>
  91. <artifactId>pagehelper</artifactId>
  92. <version>${pagehelper.version}</version>
  93. <exclusions>
  94. <exclusion>
  95. <groupId>org.mybatis</groupId>
  96. <artifactId>mybatis</artifactId>
  97. </exclusion>
  98. <exclusion>
  99. <groupId>org.mybatis</groupId>
  100. <artifactId>mybatis-spring</artifactId>
  101. </exclusion>
  102. <exclusion>
  103. <groupId>com.github.jsqlparser</groupId>
  104. <artifactId>jsqlparser</artifactId>
  105. </exclusion>
  106. </exclusions>
  107. </dependency>
  108. <!-- lombok -->
  109. <dependency>
  110. <groupId>org.projectlombok</groupId>
  111. <artifactId>lombok</artifactId>
  112. <version>${lombok.version}</version>
  113. </dependency>
  114. <!-- mapstruct 转换器 -->
  115. <dependency>
  116. <groupId>org.mapstruct</groupId>
  117. <artifactId>mapstruct</artifactId>
  118. <version>${mapstruct.version}</version>
  119. </dependency>
  120. <!-- 验证码 -->
  121. <dependency>
  122. <groupId>pro.fessional</groupId>
  123. <artifactId>kaptcha</artifactId>
  124. <version>${kaptcha.version}</version>
  125. </dependency>
  126. <!-- io常用工具类 -->
  127. <dependency>
  128. <groupId>commons-io</groupId>
  129. <artifactId>commons-io</artifactId>
  130. <version>${commons.io.version}</version>
  131. </dependency>
  132. <!-- excel工具 -->
  133. <dependency>
  134. <groupId>org.apache.poi</groupId>
  135. <artifactId>poi-ooxml</artifactId>
  136. <version>${poi.version}</version>
  137. </dependency>
  138. <!-- 代码生成使用模板 -->
  139. <dependency>
  140. <groupId>org.apache.velocity</groupId>
  141. <artifactId>velocity-engine-core</artifactId>
  142. <version>${velocity.version}</version>
  143. </dependency>
  144. <!-- JSON 解析器和生成器 -->
  145. <dependency>
  146. <groupId>com.alibaba.fastjson2</groupId>
  147. <artifactId>fastjson2</artifactId>
  148. <version>${fastjson2.version}</version>
  149. </dependency>
  150. <dependency>
  151. <groupId>net.logstash.logback</groupId>
  152. <artifactId>logstash-logback-encoder</artifactId>
  153. <version>7.4</version>
  154. </dependency>
  155. <!-- JWT -->
  156. <dependency>
  157. <groupId>io.jsonwebtoken</groupId>
  158. <artifactId>jjwt</artifactId>
  159. <version>${jjwt.version}</version>
  160. </dependency>
  161. <!-- 线程传递值 -->
  162. <dependency>
  163. <groupId>com.alibaba</groupId>
  164. <artifactId>transmittable-thread-local</artifactId>
  165. <version>${transmittable-thread-local.version}</version>
  166. </dependency>
  167. <!-- 核心模块 -->
  168. <dependency>
  169. <groupId>com.xueyi</groupId>
  170. <artifactId>xueyi-common-core</artifactId>
  171. <version>${xueyi.version}</version>
  172. </dependency>
  173. <!-- 通信模块 -->
  174. <dependency>
  175. <groupId>com.xueyi</groupId>
  176. <artifactId>xueyi-common-web</artifactId>
  177. <version>${xueyi.version}</version>
  178. </dependency>
  179. <!-- 接口模块 -->
  180. <dependency>
  181. <groupId>com.xueyi</groupId>
  182. <artifactId>xueyi-common-swagger</artifactId>
  183. <version>${xueyi.version}</version>
  184. </dependency>
  185. <!-- 安全模块 -->
  186. <dependency>
  187. <groupId>com.xueyi</groupId>
  188. <artifactId>xueyi-common-security</artifactId>
  189. <version>${xueyi.version}</version>
  190. </dependency>
  191. <!-- 权限范围 -->
  192. <dependency>
  193. <groupId>com.xueyi</groupId>
  194. <artifactId>xueyi-common-datascope</artifactId>
  195. <version>${xueyi.version}</version>
  196. </dependency>
  197. <!-- 多数据源 -->
  198. <dependency>
  199. <groupId>com.xueyi</groupId>
  200. <artifactId>xueyi-common-datasource</artifactId>
  201. <version>${xueyi.version}</version>
  202. </dependency>
  203. <!-- 日志记录 -->
  204. <dependency>
  205. <groupId>com.xueyi</groupId>
  206. <artifactId>xueyi-common-log</artifactId>
  207. <version>${xueyi.version}</version>
  208. </dependency>
  209. <!-- 缓存管理 -->
  210. <dependency>
  211. <groupId>com.xueyi</groupId>
  212. <artifactId>xueyi-common-cache</artifactId>
  213. <version>${xueyi.version}</version>
  214. </dependency>
  215. <!-- 缓存服务 -->
  216. <dependency>
  217. <groupId>com.xueyi</groupId>
  218. <artifactId>xueyi-common-redis</artifactId>
  219. <version>${xueyi.version}</version>
  220. </dependency>
  221. <!-- Mqtt服务 -->
  222. <dependency>
  223. <groupId>com.xueyi</groupId>
  224. <artifactId>xueyi-common-mqtt</artifactId>
  225. <version>${xueyi.version}</version>
  226. </dependency>
  227. <!-- 分布式事务 -->
  228. <dependency>
  229. <groupId>com.xueyi</groupId>
  230. <artifactId>xueyi-common-seata</artifactId>
  231. <version>${xueyi.version}</version>
  232. </dependency>
  233. <dependency>
  234. <groupId>com.xueyi</groupId>
  235. <artifactId>xueyi-common-sms</artifactId>
  236. <version>${xueyi.version}</version>
  237. </dependency>
  238. <!-- 系统接口 -->
  239. <dependency>
  240. <groupId>com.xueyi</groupId>
  241. <artifactId>xueyi-api-system</artifactId>
  242. <version>${xueyi.version}</version>
  243. </dependency>
  244. <!-- 租管接口 -->
  245. <dependency>
  246. <groupId>com.xueyi</groupId>
  247. <artifactId>xueyi-api-tenant</artifactId>
  248. <version>${xueyi.version}</version>
  249. </dependency>
  250. <!-- 文件管理接口 -->
  251. <dependency>
  252. <groupId>com.xueyi</groupId>
  253. <artifactId>xueyi-api-file</artifactId>
  254. <version>${xueyi.version}</version>
  255. </dependency>
  256. <!-- 定时任务接口 -->
  257. <dependency>
  258. <groupId>com.xueyi</groupId>
  259. <artifactId>xueyi-api-job</artifactId>
  260. <version>${xueyi.version}</version>
  261. </dependency>
  262. <!-- 消息管理接口 -->
  263. <dependency>
  264. <groupId>com.xueyi</groupId>
  265. <artifactId>xueyi-api-message</artifactId>
  266. <version>${xueyi.version}</version>
  267. </dependency>
  268. <!-- 模块auth模块 -->
  269. <dependency>
  270. <groupId>com.xueyi</groupId>
  271. <artifactId>xueyi-api-modules-auth</artifactId>
  272. <version>${xueyi.version}</version>
  273. </dependency>
  274. <dependency>
  275. <groupId>com.xueyi</groupId>
  276. <artifactId>xueyi-api-nlt</artifactId>
  277. <version>${xueyi.version}</version>
  278. </dependency>
  279. <!-- huTool 工具类库 -->
  280. <dependency>
  281. <groupId>cn.hutool</groupId>
  282. <artifactId>hutool-bom</artifactId>
  283. <version>${hutool.version}</version>
  284. <type>pom</type>
  285. <scope>import</scope>
  286. </dependency>
  287. <dependency>
  288. <groupId>co.elastic.clients</groupId>
  289. <artifactId>elasticsearch-java</artifactId>
  290. <version>${elasticsearch.version}</version>
  291. </dependency>
  292. <dependency>
  293. <groupId>jakarta.json</groupId>
  294. <artifactId>jakarta.json-api</artifactId>
  295. <version>${jakarta-json.version}</version>
  296. </dependency>
  297. </dependencies>
  298. </dependencyManagement>
  299. <modules>
  300. <module>xueyi-auth</module>
  301. <module>xueyi-gateway</module>
  302. <module>xueyi-visual</module>
  303. <module>xueyi-modules</module>
  304. <module>xueyi-api</module>
  305. <module>xueyi-common</module>
  306. </modules>
  307. <packaging>pom</packaging>
  308. <dependencies>
  309. <!-- bootstrap 启动器 -->
  310. <dependency>
  311. <groupId>org.springframework.cloud</groupId>
  312. <artifactId>spring-cloud-starter-bootstrap</artifactId>
  313. </dependency>
  314. </dependencies>
  315. <profiles>
  316. <profile>
  317. <id>local</id>
  318. <properties>
  319. <!-- 环境标识,需要与配置文件的名称相对应 -->
  320. <activatedProperties>local</activatedProperties>
  321. <nacos.host>127.0.0.1</nacos.host>
  322. <nacos.port>18848</nacos.port>
  323. <nacos.namespace></nacos.namespace>
  324. </properties>
  325. <activation>
  326. <!-- 默认环境 -->
  327. <!-- <activeByDefault>true</activeByDefault>-->
  328. </activation>
  329. </profile>
  330. <profile>
  331. <id>dev</id>
  332. <properties>
  333. <!-- 环境标识,需要与配置文件的名称相对应 -->
  334. <activatedProperties>dev</activatedProperties>
  335. <nacos.host>39.107.77.235</nacos.host>
  336. <nacos.port>18848</nacos.port>
  337. <nacos.namespace>6d0ee265-2a92-44cc-a6de-f34b3ea104e6</nacos.namespace>
  338. </properties>
  339. <activation>
  340. <!-- 默认环境 -->
  341. <activeByDefault>true</activeByDefault>
  342. </activation>
  343. </profile>
  344. <profile>
  345. <id>test</id>
  346. <properties>
  347. <!-- 环境标识,需要与配置文件的名称相对应 -->
  348. <activatedProperties>test</activatedProperties>
  349. <nacos.host>172.17.0.1</nacos.host>
  350. <nacos.port>18848</nacos.port>
  351. <nacos.namespace></nacos.namespace>
  352. </properties>
  353. </profile>
  354. <profile>
  355. <id>prod</id>
  356. <properties>
  357. <!-- 环境标识,需要与配置文件的名称相对应 -->
  358. <activatedProperties>prod</activatedProperties>
  359. <nacos.host>123.57.75.177</nacos.host>
  360. <nacos.port>18848</nacos.port>
  361. <nacos.namespace></nacos.namespace>
  362. </properties>
  363. </profile>
  364. <profile>
  365. <id>test-liantong-mobilebox</id>
  366. <properties>
  367. <!-- 环境标识,需要与配置文件的名称相对应 -->
  368. <activatedProperties>test-liantong-mobilebox</activatedProperties>
  369. <nacos.host>39.107.77.235</nacos.host>
  370. <nacos.port>18848</nacos.port>
  371. <nacos.namespace>d4f6cba7-30ad-427c-83dd-c6f9cef117ad</nacos.namespace>
  372. </properties>
  373. </profile>
  374. <profile>
  375. <id>prod-liantong-mobilebox</id>
  376. <properties>
  377. <!-- 环境标识,需要与配置文件的名称相对应 -->
  378. <activatedProperties>prod-liantong-mobilebox</activatedProperties>
  379. <nacos.host>192.168.0.13</nacos.host>
  380. <nacos.port>18848</nacos.port>
  381. <nacos.namespace>c452d5cc-24a4-4684-804d-60ebb686cbfd</nacos.namespace>
  382. </properties>
  383. </profile>
  384. </profiles>
  385. <build>
  386. <plugins>
  387. <plugin>
  388. <groupId>org.apache.maven.plugins</groupId>
  389. <artifactId>maven-compiler-plugin</artifactId>
  390. <version>${maven-compiler-plugin.version}</version>
  391. <configuration>
  392. <source>${java.version}</source>
  393. <target>${java.version}</target>
  394. <annotationProcessorPaths>
  395. <path>
  396. <groupId>org.mapstruct</groupId>
  397. <artifactId>mapstruct-processor</artifactId>
  398. <version>${mapstruct.version}</version>
  399. </path>
  400. <path>
  401. <groupId>org.projectlombok</groupId>
  402. <artifactId>lombok</artifactId>
  403. <version>${lombok.version}</version>
  404. </path>
  405. <path>
  406. <groupId>org.projectlombok</groupId>
  407. <artifactId>lombok-mapstruct-binding</artifactId>
  408. <version>${lombok-mapstruct-binding.version}</version>
  409. </path>
  410. </annotationProcessorPaths>
  411. <encoding>${project.build.sourceEncoding}</encoding>
  412. </configuration>
  413. </plugin>
  414. </plugins>
  415. <pluginManagement>
  416. <plugins>
  417. <plugin>
  418. <groupId>org.springframework.boot</groupId>
  419. <artifactId>spring-boot-maven-plugin</artifactId>
  420. <version>${spring-boot.version}</version>
  421. <executions>
  422. <execution>
  423. <goals>
  424. <goal>repackage</goal>
  425. </goals>
  426. </execution>
  427. </executions>
  428. </plugin>
  429. </plugins>
  430. </pluginManagement>
  431. </build>
  432. <repositories>
  433. <repository>
  434. <id>public</id>
  435. <name>aliyun nexus</name>
  436. <url>https://maven.aliyun.com/repository/public</url>
  437. <releases>
  438. <enabled>true</enabled>
  439. </releases>
  440. </repository>
  441. </repositories>
  442. <pluginRepositories>
  443. <pluginRepository>
  444. <id>public</id>
  445. <name>aliyun nexus</name>
  446. <url>https://maven.aliyun.com/repository/public</url>
  447. <releases>
  448. <enabled>true</enabled>
  449. </releases>
  450. <snapshots>
  451. <enabled>false</enabled>
  452. </snapshots>
  453. </pluginRepository>
  454. </pluginRepositories>
  455. </project>