华西海圻ELN服务端工程
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.

335 lines
12 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.hxhq</groupId>
  7. <artifactId>hxhq</artifactId>
  8. <version>3.6.6</version>
  9. <name>hxhq</name>
  10. <url></url>
  11. <description>华西海圻微服务系统</description>
  12. <properties>
  13. <hxhq.version>3.6.6</hxhq.version>
  14. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  15. <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
  16. <java.version>1.8</java.version>
  17. <spring-boot.version>2.7.18</spring-boot.version>
  18. <spring-cloud.version>2021.0.9</spring-cloud.version>
  19. <spring-cloud-alibaba.version>2021.0.6.1</spring-cloud-alibaba.version>
  20. <spring-boot-admin.version>2.7.16</spring-boot-admin.version>
  21. <tobato.version>1.27.2</tobato.version>
  22. <kaptcha.version>2.3.3</kaptcha.version>
  23. <pagehelper.boot.version>2.0.0</pagehelper.boot.version>
  24. <druid.version>1.2.23</druid.version>
  25. <dynamic-ds.version>4.3.1</dynamic-ds.version>
  26. <commons.io.version>2.19.0</commons.io.version>
  27. <velocity.version>2.3</velocity.version>
  28. <fastjson.version>2.0.57</fastjson.version>
  29. <jjwt.version>0.9.1</jjwt.version>
  30. <minio.version>8.2.2</minio.version>
  31. <poi.version>4.1.2</poi.version>
  32. <springdoc.version>1.6.9</springdoc.version>
  33. <transmittable-thread-local.version>2.14.4</transmittable-thread-local.version>
  34. <!-- override dependency version -->
  35. <tomcat.version>9.0.112</tomcat.version>
  36. <logback.version>1.2.13</logback.version>
  37. <spring-framework.version>5.3.39</spring-framework.version>
  38. </properties>
  39. <!-- 依赖声明 -->
  40. <dependencyManagement>
  41. <dependencies>
  42. <!-- 覆盖SpringFramework的依赖配置-->
  43. <dependency>
  44. <groupId>org.springframework</groupId>
  45. <artifactId>spring-framework-bom</artifactId>
  46. <version>${spring-framework.version}</version>
  47. <type>pom</type>
  48. <scope>import</scope>
  49. </dependency>
  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. <!-- 覆盖logback的依赖配置-->
  75. <dependency>
  76. <groupId>ch.qos.logback</groupId>
  77. <artifactId>logback-core</artifactId>
  78. <version>${logback.version}</version>
  79. </dependency>
  80. <dependency>
  81. <groupId>ch.qos.logback</groupId>
  82. <artifactId>logback-classic</artifactId>
  83. <version>${logback.version}</version>
  84. </dependency>
  85. <!-- 覆盖tomcat的依赖配置-->
  86. <dependency>
  87. <groupId>org.apache.tomcat.embed</groupId>
  88. <artifactId>tomcat-embed-core</artifactId>
  89. <version>${tomcat.version}</version>
  90. </dependency>
  91. <dependency>
  92. <groupId>org.apache.tomcat.embed</groupId>
  93. <artifactId>tomcat-embed-el</artifactId>
  94. <version>${tomcat.version}</version>
  95. </dependency>
  96. <dependency>
  97. <groupId>org.apache.tomcat.embed</groupId>
  98. <artifactId>tomcat-embed-websocket</artifactId>
  99. <version>${tomcat.version}</version>
  100. </dependency>
  101. <!-- FastDFS 分布式文件系统 -->
  102. <dependency>
  103. <groupId>com.github.tobato</groupId>
  104. <artifactId>fastdfs-client</artifactId>
  105. <version>${tobato.version}</version>
  106. </dependency>
  107. <!-- Springdoc webmvc 依赖配置 -->
  108. <dependency>
  109. <groupId>org.springdoc</groupId>
  110. <artifactId>springdoc-openapi-ui</artifactId>
  111. <version>${springdoc.version}</version>
  112. </dependency>
  113. <!-- 验证码 -->
  114. <dependency>
  115. <groupId>pro.fessional</groupId>
  116. <artifactId>kaptcha</artifactId>
  117. <version>${kaptcha.version}</version>
  118. </dependency>
  119. <!-- pagehelper 分页插件 -->
  120. <dependency>
  121. <groupId>com.github.pagehelper</groupId>
  122. <artifactId>pagehelper-spring-boot-starter</artifactId>
  123. <version>${pagehelper.boot.version}</version>
  124. </dependency>
  125. <!-- io常用工具类 -->
  126. <dependency>
  127. <groupId>commons-io</groupId>
  128. <artifactId>commons-io</artifactId>
  129. <version>${commons.io.version}</version>
  130. </dependency>
  131. <!-- excel工具 -->
  132. <dependency>
  133. <groupId>org.apache.poi</groupId>
  134. <artifactId>poi-ooxml</artifactId>
  135. <version>${poi.version}</version>
  136. </dependency>
  137. <!-- 代码生成使用模板 -->
  138. <dependency>
  139. <groupId>org.apache.velocity</groupId>
  140. <artifactId>velocity-engine-core</artifactId>
  141. <version>${velocity.version}</version>
  142. </dependency>
  143. <!-- JSON 解析器和生成器 -->
  144. <dependency>
  145. <groupId>com.alibaba.fastjson2</groupId>
  146. <artifactId>fastjson2</artifactId>
  147. <version>${fastjson.version}</version>
  148. </dependency>
  149. <!-- JWT -->
  150. <dependency>
  151. <groupId>io.jsonwebtoken</groupId>
  152. <artifactId>jjwt</artifactId>
  153. <version>${jjwt.version}</version>
  154. </dependency>
  155. <!-- 线程传递值 -->
  156. <dependency>
  157. <groupId>com.alibaba</groupId>
  158. <artifactId>transmittable-thread-local</artifactId>
  159. <version>${transmittable-thread-local.version}</version>
  160. </dependency>
  161. <!-- 核心模块 -->
  162. <dependency>
  163. <groupId>com.hxhq</groupId>
  164. <artifactId>hxhq-common-core</artifactId>
  165. <version>${hxhq.version}</version>
  166. </dependency>
  167. <!-- 接口模块 -->
  168. <dependency>
  169. <groupId>com.hxhq</groupId>
  170. <artifactId>hxhq-common-swagger</artifactId>
  171. <version>${hxhq.version}</version>
  172. </dependency>
  173. <!-- 安全模块 -->
  174. <dependency>
  175. <groupId>com.hxhq</groupId>
  176. <artifactId>hxhq-common-security</artifactId>
  177. <version>${hxhq.version}</version>
  178. </dependency>
  179. <!-- 数据脱敏 -->
  180. <dependency>
  181. <groupId>com.hxhq</groupId>
  182. <artifactId>hxhq-common-sensitive</artifactId>
  183. <version>${hxhq.version}</version>
  184. </dependency>
  185. <!-- 权限范围 -->
  186. <dependency>
  187. <groupId>com.hxhq</groupId>
  188. <artifactId>hxhq-common-datascope</artifactId>
  189. <version>${hxhq.version}</version>
  190. </dependency>
  191. <!-- 多数据源 -->
  192. <dependency>
  193. <groupId>com.hxhq</groupId>
  194. <artifactId>hxhq-common-datasource</artifactId>
  195. <version>${hxhq.version}</version>
  196. </dependency>
  197. <!-- 分布式事务 -->
  198. <dependency>
  199. <groupId>com.hxhq</groupId>
  200. <artifactId>hxhq-common-seata</artifactId>
  201. <version>${hxhq.version}</version>
  202. </dependency>
  203. <!-- 日志记录 -->
  204. <dependency>
  205. <groupId>com.hxhq</groupId>
  206. <artifactId>hxhq-common-log</artifactId>
  207. <version>${hxhq.version}</version>
  208. </dependency>
  209. <!-- 缓存服务 -->
  210. <dependency>
  211. <groupId>com.hxhq</groupId>
  212. <artifactId>hxhq-common-redis</artifactId>
  213. <version>${hxhq.version}</version>
  214. </dependency>
  215. <!-- 系统接口 -->
  216. <dependency>
  217. <groupId>com.hxhq</groupId>
  218. <artifactId>hxhq-api-system</artifactId>
  219. <version>${hxhq.version}</version>
  220. </dependency>
  221. <dependency>
  222. <groupId>com.baomidou</groupId>
  223. <artifactId>mybatis-plus-boot-starter</artifactId>
  224. <version>3.5.3.1</version>
  225. </dependency>
  226. </dependencies>
  227. </dependencyManagement>
  228. <modules>
  229. <module>hxhq-auth</module>
  230. <module>hxhq-gateway</module>
  231. <module>hxhq-modules</module>
  232. <module>hxhq-api</module>
  233. <module>hxhq-common</module>
  234. </modules>
  235. <packaging>pom</packaging>
  236. <dependencies>
  237. <!-- bootstrap 启动器 -->
  238. <dependency>
  239. <groupId>org.springframework.cloud</groupId>
  240. <artifactId>spring-cloud-starter-bootstrap</artifactId>
  241. </dependency>
  242. </dependencies>
  243. <build>
  244. <plugins>
  245. <plugin>
  246. <groupId>org.apache.maven.plugins</groupId>
  247. <artifactId>maven-compiler-plugin</artifactId>
  248. <configuration>
  249. <source>${java.version}</source>
  250. <target>${java.version}</target>
  251. <encoding>${project.build.sourceEncoding}</encoding>
  252. </configuration>
  253. </plugin>
  254. </plugins>
  255. <pluginManagement>
  256. <plugins>
  257. <plugin>
  258. <groupId>org.springframework.boot</groupId>
  259. <artifactId>spring-boot-maven-plugin</artifactId>
  260. <version>${spring-boot.version}</version>
  261. <executions>
  262. <execution>
  263. <goals>
  264. <goal>repackage</goal>
  265. </goals>
  266. </execution>
  267. </executions>
  268. </plugin>
  269. </plugins>
  270. </pluginManagement>
  271. </build>
  272. <repositories>
  273. <repository>
  274. <id>public</id>
  275. <name>aliyun nexus</name>
  276. <url>https://maven.aliyun.com/repository/public</url>
  277. <releases>
  278. <enabled>true</enabled>
  279. </releases>
  280. </repository>
  281. </repositories>
  282. <pluginRepositories>
  283. <pluginRepository>
  284. <id>public</id>
  285. <name>aliyun nexus</name>
  286. <url>https://maven.aliyun.com/repository/public</url>
  287. <releases>
  288. <enabled>true</enabled>
  289. </releases>
  290. <snapshots>
  291. <enabled>false</enabled>
  292. </snapshots>
  293. </pluginRepository>
  294. </pluginRepositories>
  295. </project>