数字人管理平台
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.
 
 
 
 
 
 

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