pom.xml 11 KB

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