pom.xml 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332
  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.ruoyi</groupId>
  7. <artifactId>ruoyi</artifactId>
  8. <version>3.6.5</version>
  9. <name>ruoyi</name>
  10. <url>http://www.ruoyi.vip</url>
  11. <description>若依微服务系统</description>
  12. <properties>
  13. <ruoyi.version>3.6.5</ruoyi.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.13.0</commons.io.version>
  27. <velocity.version>2.3</velocity.version>
  28. <fastjson.version>2.0.53</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.96</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.ruoyi</groupId>
  164. <artifactId>ruoyi-common-core</artifactId>
  165. <version>${ruoyi.version}</version>
  166. </dependency>
  167. <!-- 接口模块 -->
  168. <dependency>
  169. <groupId>com.ruoyi</groupId>
  170. <artifactId>ruoyi-common-swagger</artifactId>
  171. <version>${ruoyi.version}</version>
  172. </dependency>
  173. <!-- 安全模块 -->
  174. <dependency>
  175. <groupId>com.ruoyi</groupId>
  176. <artifactId>ruoyi-common-security</artifactId>
  177. <version>${ruoyi.version}</version>
  178. </dependency>
  179. <!-- 数据脱敏 -->
  180. <dependency>
  181. <groupId>com.ruoyi</groupId>
  182. <artifactId>ruoyi-common-sensitive</artifactId>
  183. <version>${ruoyi.version}</version>
  184. </dependency>
  185. <!-- 权限范围 -->
  186. <dependency>
  187. <groupId>com.ruoyi</groupId>
  188. <artifactId>ruoyi-common-datascope</artifactId>
  189. <version>${ruoyi.version}</version>
  190. </dependency>
  191. <!-- 多数据源 -->
  192. <dependency>
  193. <groupId>com.ruoyi</groupId>
  194. <artifactId>ruoyi-common-datasource</artifactId>
  195. <version>${ruoyi.version}</version>
  196. </dependency>
  197. <!-- 分布式事务 -->
  198. <dependency>
  199. <groupId>com.ruoyi</groupId>
  200. <artifactId>ruoyi-common-seata</artifactId>
  201. <version>${ruoyi.version}</version>
  202. </dependency>
  203. <!-- 日志记录 -->
  204. <dependency>
  205. <groupId>com.ruoyi</groupId>
  206. <artifactId>ruoyi-common-log</artifactId>
  207. <version>${ruoyi.version}</version>
  208. </dependency>
  209. <!-- 缓存服务 -->
  210. <dependency>
  211. <groupId>com.ruoyi</groupId>
  212. <artifactId>ruoyi-common-redis</artifactId>
  213. <version>${ruoyi.version}</version>
  214. </dependency>
  215. <!-- 系统接口 -->
  216. <dependency>
  217. <groupId>com.ruoyi</groupId>
  218. <artifactId>ruoyi-api-system</artifactId>
  219. <version>${ruoyi.version}</version>
  220. </dependency>
  221. </dependencies>
  222. </dependencyManagement>
  223. <modules>
  224. <module>ruoyi-auth</module>
  225. <module>ruoyi-gateway</module>
  226. <module>ruoyi-visual</module>
  227. <module>ruoyi-modules</module>
  228. <module>ruoyi-api</module>
  229. <module>ruoyi-common</module>
  230. </modules>
  231. <packaging>pom</packaging>
  232. <dependencies>
  233. <!-- bootstrap 启动器 -->
  234. <dependency>
  235. <groupId>org.springframework.cloud</groupId>
  236. <artifactId>spring-cloud-starter-bootstrap</artifactId>
  237. </dependency>
  238. </dependencies>
  239. <build>
  240. <plugins>
  241. <plugin>
  242. <groupId>org.apache.maven.plugins</groupId>
  243. <artifactId>maven-compiler-plugin</artifactId>
  244. <configuration>
  245. <source>${java.version}</source>
  246. <target>${java.version}</target>
  247. <encoding>${project.build.sourceEncoding}</encoding>
  248. </configuration>
  249. </plugin>
  250. </plugins>
  251. <pluginManagement>
  252. <plugins>
  253. <plugin>
  254. <groupId>org.springframework.boot</groupId>
  255. <artifactId>spring-boot-maven-plugin</artifactId>
  256. <version>${spring-boot.version}</version>
  257. <executions>
  258. <execution>
  259. <goals>
  260. <goal>repackage</goal>
  261. </goals>
  262. </execution>
  263. </executions>
  264. </plugin>
  265. </plugins>
  266. </pluginManagement>
  267. </build>
  268. <repositories>
  269. <repository>
  270. <id>public</id>
  271. <name>aliyun nexus</name>
  272. <url>https://maven.aliyun.com/repository/public</url>
  273. <releases>
  274. <enabled>true</enabled>
  275. </releases>
  276. </repository>
  277. </repositories>
  278. <pluginRepositories>
  279. <pluginRepository>
  280. <id>public</id>
  281. <name>aliyun nexus</name>
  282. <url>https://maven.aliyun.com/repository/public</url>
  283. <releases>
  284. <enabled>true</enabled>
  285. </releases>
  286. <snapshots>
  287. <enabled>false</enabled>
  288. </snapshots>
  289. </pluginRepository>
  290. </pluginRepositories>
  291. </project>