pom.xml 11 KB

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