pom.xml 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327
  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.huashe.cloud</groupId>
  7. <artifactId>common-cloud</artifactId>
  8. <version>3.6.4</version>
  9. <name>common-cloud</name>
  10. <description>公共支撑组件-微服务</description>
  11. <properties>
  12. <ruoyi.version>3.6.4</ruoyi.version>
  13. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  14. <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
  15. <java.version>1.8</java.version>
  16. <spring-boot.version>2.7.18</spring-boot.version>
  17. <spring-cloud.version>2021.0.8</spring-cloud.version>
  18. <spring-cloud-alibaba.version>2021.0.5.0</spring-cloud-alibaba.version>
  19. <spring-framework.version>5.3.33</spring-framework.version>
  20. <spring-boot-admin.version>2.7.15</spring-boot-admin.version>
  21. <swagger.fox.version>3.0.0</swagger.fox.version>
  22. <swagger.core.version>1.6.2</swagger.core.version>
  23. <tobato.version>1.27.2</tobato.version>
  24. <kaptcha.version>2.3.3</kaptcha.version>
  25. <pagehelper.boot.version>2.0.0</pagehelper.boot.version>
  26. <druid.version>1.2.20</druid.version>
  27. <dynamic-ds.version>4.2.0</dynamic-ds.version>
  28. <commons.io.version>2.13.0</commons.io.version>
  29. <velocity.version>2.3</velocity.version>
  30. <fastjson.version>2.0.43</fastjson.version>
  31. <jjwt.version>0.9.1</jjwt.version>
  32. <minio.version>8.2.2</minio.version>
  33. <poi.version>4.1.2</poi.version>
  34. <hutool.version>5.8.26</hutool.version>
  35. <transmittable-thread-local.version>2.14.4</transmittable-thread-local.version>
  36. </properties>
  37. <!-- 依赖声明 -->
  38. <dependencyManagement>
  39. <dependencies>
  40. <!-- SpringFramework的依赖配置-->
  41. <dependency>
  42. <groupId>org.springframework</groupId>
  43. <artifactId>spring-framework-bom</artifactId>
  44. <version>${spring-framework.version}</version>
  45. <type>pom</type>
  46. <scope>import</scope>
  47. </dependency>
  48. <!-- SpringCloud 微服务 -->
  49. <dependency>
  50. <groupId>org.springframework.cloud</groupId>
  51. <artifactId>spring-cloud-dependencies</artifactId>
  52. <version>${spring-cloud.version}</version>
  53. <type>pom</type>
  54. <scope>import</scope>
  55. </dependency>
  56. <!-- SpringCloud Alibaba 微服务 -->
  57. <dependency>
  58. <groupId>com.alibaba.cloud</groupId>
  59. <artifactId>spring-cloud-alibaba-dependencies</artifactId>
  60. <version>${spring-cloud-alibaba.version}</version>
  61. <type>pom</type>
  62. <scope>import</scope>
  63. </dependency>
  64. <!-- SpringBoot 依赖配置 -->
  65. <dependency>
  66. <groupId>org.springframework.boot</groupId>
  67. <artifactId>spring-boot-dependencies</artifactId>
  68. <version>${spring-boot.version}</version>
  69. <type>pom</type>
  70. <scope>import</scope>
  71. </dependency>
  72. <!-- FastDFS 分布式文件系统 -->
  73. <dependency>
  74. <groupId>com.github.tobato</groupId>
  75. <artifactId>fastdfs-client</artifactId>
  76. <version>${tobato.version}</version>
  77. </dependency>
  78. <!-- Swagger 依赖配置 -->
  79. <dependency>
  80. <groupId>io.swagger</groupId>
  81. <artifactId>swagger-models</artifactId>
  82. <version>${swagger.core.version}</version>
  83. </dependency>
  84. <dependency>
  85. <groupId>io.swagger</groupId>
  86. <artifactId>swagger-annotations</artifactId>
  87. <version>${swagger.core.version}</version>
  88. </dependency>
  89. <!-- 验证码 -->
  90. <dependency>
  91. <groupId>pro.fessional</groupId>
  92. <artifactId>kaptcha</artifactId>
  93. <version>${kaptcha.version}</version>
  94. </dependency>
  95. <!-- pagehelper 分页插件 -->
  96. <dependency>
  97. <groupId>com.github.pagehelper</groupId>
  98. <artifactId>pagehelper-spring-boot-starter</artifactId>
  99. <version>${pagehelper.boot.version}</version>
  100. </dependency>
  101. <!-- io常用工具类 -->
  102. <dependency>
  103. <groupId>commons-io</groupId>
  104. <artifactId>commons-io</artifactId>
  105. <version>${commons.io.version}</version>
  106. </dependency>
  107. <!-- excel工具 -->
  108. <dependency>
  109. <groupId>org.apache.poi</groupId>
  110. <artifactId>poi-ooxml</artifactId>
  111. <version>${poi.version}</version>
  112. </dependency>
  113. <!-- 代码生成使用模板 -->
  114. <dependency>
  115. <groupId>org.apache.velocity</groupId>
  116. <artifactId>velocity-engine-core</artifactId>
  117. <version>${velocity.version}</version>
  118. </dependency>
  119. <!-- JSON 解析器和生成器 -->
  120. <dependency>
  121. <groupId>com.alibaba.fastjson2</groupId>
  122. <artifactId>fastjson2</artifactId>
  123. <version>${fastjson.version}</version>
  124. </dependency>
  125. <!-- JWT -->
  126. <dependency>
  127. <groupId>io.jsonwebtoken</groupId>
  128. <artifactId>jjwt</artifactId>
  129. <version>${jjwt.version}</version>
  130. </dependency>
  131. <!-- 线程传递值 -->
  132. <dependency>
  133. <groupId>com.alibaba</groupId>
  134. <artifactId>transmittable-thread-local</artifactId>
  135. <version>${transmittable-thread-local.version}</version>
  136. </dependency>
  137. <!-- 核心模块 -->
  138. <dependency>
  139. <groupId>com.huashe.cloud</groupId>
  140. <artifactId>ruoyi-common-core</artifactId>
  141. <version>${ruoyi.version}</version>
  142. </dependency>
  143. <!-- 接口模块 -->
  144. <dependency>
  145. <groupId>com.huashe.cloud</groupId>
  146. <artifactId>ruoyi-common-swagger</artifactId>
  147. <version>${ruoyi.version}</version>
  148. </dependency>
  149. <!-- 安全模块 -->
  150. <dependency>
  151. <groupId>com.huashe.cloud</groupId>
  152. <artifactId>ruoyi-common-security</artifactId>
  153. <version>${ruoyi.version}</version>
  154. </dependency>
  155. <!-- 数据脱敏 -->
  156. <dependency>
  157. <groupId>com.huashe.cloud</groupId>
  158. <artifactId>ruoyi-common-sensitive</artifactId>
  159. <version>${ruoyi.version}</version>
  160. </dependency>
  161. <!-- 权限范围 -->
  162. <dependency>
  163. <groupId>com.huashe.cloud</groupId>
  164. <artifactId>ruoyi-common-datascope</artifactId>
  165. <version>${ruoyi.version}</version>
  166. </dependency>
  167. <!-- 多数据源 -->
  168. <dependency>
  169. <groupId>com.huashe.cloud</groupId>
  170. <artifactId>ruoyi-common-datasource</artifactId>
  171. <version>${ruoyi.version}</version>
  172. </dependency>
  173. <!-- 分布式事务 -->
  174. <dependency>
  175. <groupId>com.huashe.cloud</groupId>
  176. <artifactId>ruoyi-common-seata</artifactId>
  177. <version>${ruoyi.version}</version>
  178. </dependency>
  179. <!-- 日志记录 -->
  180. <dependency>
  181. <groupId>com.huashe.cloud</groupId>
  182. <artifactId>ruoyi-common-log</artifactId>
  183. <version>${ruoyi.version}</version>
  184. </dependency>
  185. <!-- 缓存服务 -->
  186. <dependency>
  187. <groupId>com.huashe.cloud</groupId>
  188. <artifactId>ruoyi-common-redis</artifactId>
  189. <version>${ruoyi.version}</version>
  190. </dependency>
  191. <!-- 系统接口 -->
  192. <dependency>
  193. <groupId>com.huashe.cloud</groupId>
  194. <artifactId>ruoyi-api-system</artifactId>
  195. <version>${ruoyi.version}</version>
  196. </dependency>
  197. <!-- 分布式事务 -->
  198. <dependency>
  199. <groupId>com.huashe.cloud</groupId>
  200. <artifactId>ruoyi-common-quartz</artifactId>
  201. <version>${ruoyi.version}</version>
  202. </dependency>
  203. <dependency>
  204. <groupId>cn.hutool</groupId>
  205. <artifactId>hutool-bom</artifactId>
  206. <version>${hutool.version}</version>
  207. <type>pom</type>
  208. <!-- 注意这里是import -->
  209. <scope>import</scope>
  210. </dependency>
  211. </dependencies>
  212. </dependencyManagement>
  213. <modules>
  214. <module>ruoyi-common</module>
  215. <module>ruoyi-gateway</module>
  216. <module>ruoyi-api</module>
  217. <module>ruoyi-auth</module>
  218. <module>ruoyi-modules</module>
  219. </modules>
  220. <packaging>pom</packaging>
  221. <dependencies>
  222. <!-- bootstrap 启动器 -->
  223. <dependency>
  224. <groupId>org.springframework.cloud</groupId>
  225. <artifactId>spring-cloud-starter-bootstrap</artifactId>
  226. </dependency>
  227. </dependencies>
  228. <build>
  229. <plugins>
  230. <plugin>
  231. <groupId>org.apache.maven.plugins</groupId>
  232. <artifactId>maven-compiler-plugin</artifactId>
  233. <version>3.8.0</version>
  234. <configuration>
  235. <source>${java.version}</source>
  236. <target>${java.version}</target>
  237. <encoding>${project.build.sourceEncoding}</encoding>
  238. </configuration>
  239. </plugin>
  240. </plugins>
  241. <pluginManagement>
  242. <plugins>
  243. <plugin>
  244. <groupId>org.springframework.boot</groupId>
  245. <artifactId>spring-boot-maven-plugin</artifactId>
  246. <version>${spring-boot.version}</version>
  247. <executions>
  248. <execution>
  249. <goals>
  250. <goal>repackage</goal>
  251. </goals>
  252. </execution>
  253. </executions>
  254. </plugin>
  255. </plugins>
  256. </pluginManagement>
  257. </build>
  258. <repositories>
  259. <repository>
  260. <id>nexus</id>
  261. <name>Team Nexus Repository</name>
  262. <url>http://maven.xt.wenhq.top:8083/repository/maven-public/</url>
  263. <snapshots>
  264. <enabled>true</enabled>
  265. <updatePolicy>always</updatePolicy>
  266. <checksumPolicy>warn</checksumPolicy>
  267. </snapshots>
  268. <releases>
  269. <enabled>true</enabled>
  270. <updatePolicy>always</updatePolicy>
  271. <checksumPolicy>warn</checksumPolicy>
  272. </releases>
  273. </repository>
  274. </repositories>
  275. <distributionManagement>
  276. <repository>
  277. <id>hs-private-repo</id>
  278. <url>http://maven.xt.wenhq.top:8083/repository/maven-releases/</url>
  279. </repository>
  280. <snapshotRepository>
  281. <id>hs-private-snapshot-repo</id>
  282. <url>http://maven.xt.wenhq.top:8083/repository/maven-snapshots/</url>
  283. </snapshotRepository>
  284. </distributionManagement>
  285. <pluginRepositories>
  286. <pluginRepository>
  287. <id>nexus</id>
  288. <name>Team Nexus Repository</name>
  289. <url>http://maven.xt.wenhq.top:8083/repository/maven-public/</url>
  290. </pluginRepository>
  291. </pluginRepositories>
  292. </project>