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.2</version>
  9. <name>ruoyi</name>
  10. <url>http://www.ruoyi.vip</url>
  11. <description>若依微服务系统</description>
  12. <properties>
  13. <ruoyi.version>3.6.2</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.7</spring-boot.version>
  18. <spring-cloud.version>2021.0.5</spring-cloud.version>
  19. <spring-cloud-alibaba.version>2021.0.4.0</spring-cloud-alibaba.version>
  20. <spring-boot-admin.version>2.7.10</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>1.4.6</pagehelper.boot.version>
  26. <druid.version>1.2.15</druid.version>
  27. <dynamic-ds.version>3.5.2</dynamic-ds.version>
  28. <commons.io.version>2.11.0</commons.io.version>
  29. <commons.fileupload.version>1.4</commons.fileupload.version>
  30. <velocity.version>2.3</velocity.version>
  31. <fastjson.version>2.0.22</fastjson.version>
  32. <jjwt.version>0.9.1</jjwt.version>
  33. <minio.version>8.2.2</minio.version>
  34. <poi.version>4.1.2</poi.version>
  35. <transmittable-thread-local.version>2.14.2</transmittable-thread-local.version>
  36. </properties>
  37. <!-- 依赖声明 -->
  38. <dependencyManagement>
  39. <dependencies>
  40. <!-- SpringCloud 微服务 -->
  41. <dependency>
  42. <groupId>org.springframework.cloud</groupId>
  43. <artifactId>spring-cloud-dependencies</artifactId>
  44. <version>${spring-cloud.version}</version>
  45. <type>pom</type>
  46. <scope>import</scope>
  47. </dependency>
  48. <!-- SpringCloud Alibaba 微服务 -->
  49. <dependency>
  50. <groupId>com.alibaba.cloud</groupId>
  51. <artifactId>spring-cloud-alibaba-dependencies</artifactId>
  52. <version>${spring-cloud-alibaba.version}</version>
  53. <type>pom</type>
  54. <scope>import</scope>
  55. </dependency>
  56. <!-- SpringBoot 依赖配置 -->
  57. <dependency>
  58. <groupId>org.springframework.boot</groupId>
  59. <artifactId>spring-boot-dependencies</artifactId>
  60. <version>${spring-boot.version}</version>
  61. <type>pom</type>
  62. <scope>import</scope>
  63. </dependency>
  64. <!-- FastDFS 分布式文件系统 -->
  65. <dependency>
  66. <groupId>com.github.tobato</groupId>
  67. <artifactId>fastdfs-client</artifactId>
  68. <version>${tobato.version}</version>
  69. </dependency>
  70. <!-- Swagger 依赖配置 -->
  71. <dependency>
  72. <groupId>io.swagger</groupId>
  73. <artifactId>swagger-models</artifactId>
  74. <version>${swagger.core.version}</version>
  75. </dependency>
  76. <dependency>
  77. <groupId>io.swagger</groupId>
  78. <artifactId>swagger-annotations</artifactId>
  79. <version>${swagger.core.version}</version>
  80. </dependency>
  81. <!-- 验证码 -->
  82. <dependency>
  83. <groupId>pro.fessional</groupId>
  84. <artifactId>kaptcha</artifactId>
  85. <version>${kaptcha.version}</version>
  86. </dependency>
  87. <!-- pagehelper 分页插件 -->
  88. <dependency>
  89. <groupId>com.github.pagehelper</groupId>
  90. <artifactId>pagehelper-spring-boot-starter</artifactId>
  91. <version>${pagehelper.boot.version}</version>
  92. </dependency>
  93. <!-- io常用工具类 -->
  94. <dependency>
  95. <groupId>commons-io</groupId>
  96. <artifactId>commons-io</artifactId>
  97. <version>${commons.io.version}</version>
  98. </dependency>
  99. <!-- excel工具 -->
  100. <dependency>
  101. <groupId>org.apache.poi</groupId>
  102. <artifactId>poi-ooxml</artifactId>
  103. <version>${poi.version}</version>
  104. </dependency>
  105. <!-- 文件上传工具类 -->
  106. <dependency>
  107. <groupId>commons-fileupload</groupId>
  108. <artifactId>commons-fileupload</artifactId>
  109. <version>${commons.fileupload.version}</version>
  110. </dependency>
  111. <!-- 代码生成使用模板 -->
  112. <dependency>
  113. <groupId>org.apache.velocity</groupId>
  114. <artifactId>velocity-engine-core</artifactId>
  115. <version>${velocity.version}</version>
  116. </dependency>
  117. <!-- JSON 解析器和生成器 -->
  118. <dependency>
  119. <groupId>com.alibaba.fastjson2</groupId>
  120. <artifactId>fastjson2</artifactId>
  121. <version>${fastjson.version}</version>
  122. </dependency>
  123. <!-- JWT -->
  124. <dependency>
  125. <groupId>io.jsonwebtoken</groupId>
  126. <artifactId>jjwt</artifactId>
  127. <version>${jjwt.version}</version>
  128. </dependency>
  129. <!-- 线程传递值 -->
  130. <dependency>
  131. <groupId>com.alibaba</groupId>
  132. <artifactId>transmittable-thread-local</artifactId>
  133. <version>${transmittable-thread-local.version}</version>
  134. </dependency>
  135. <!-- 核心模块 -->
  136. <dependency>
  137. <groupId>com.ruoyi</groupId>
  138. <artifactId>ruoyi-common-core</artifactId>
  139. <version>${ruoyi.version}</version>
  140. </dependency>
  141. <!-- 接口模块 -->
  142. <dependency>
  143. <groupId>com.ruoyi</groupId>
  144. <artifactId>ruoyi-common-swagger</artifactId>
  145. <version>${ruoyi.version}</version>
  146. </dependency>
  147. <!-- 安全模块 -->
  148. <dependency>
  149. <groupId>com.ruoyi</groupId>
  150. <artifactId>ruoyi-common-security</artifactId>
  151. <version>${ruoyi.version}</version>
  152. </dependency>
  153. <!-- 权限范围 -->
  154. <dependency>
  155. <groupId>com.ruoyi</groupId>
  156. <artifactId>ruoyi-common-datascope</artifactId>
  157. <version>${ruoyi.version}</version>
  158. </dependency>
  159. <!-- 多数据源 -->
  160. <dependency>
  161. <groupId>com.ruoyi</groupId>
  162. <artifactId>ruoyi-common-datasource</artifactId>
  163. <version>${ruoyi.version}</version>
  164. </dependency>
  165. <!-- 分布式事务 -->
  166. <dependency>
  167. <groupId>com.ruoyi</groupId>
  168. <artifactId>ruoyi-common-seata</artifactId>
  169. <version>${ruoyi.version}</version>
  170. </dependency>
  171. <!-- 日志记录 -->
  172. <dependency>
  173. <groupId>com.ruoyi</groupId>
  174. <artifactId>ruoyi-common-log</artifactId>
  175. <version>${ruoyi.version}</version>
  176. </dependency>
  177. <!-- 缓存服务 -->
  178. <dependency>
  179. <groupId>com.ruoyi</groupId>
  180. <artifactId>ruoyi-common-redis</artifactId>
  181. <version>${ruoyi.version}</version>
  182. </dependency>
  183. <!-- 系统接口 -->
  184. <dependency>
  185. <groupId>com.ruoyi</groupId>
  186. <artifactId>ruoyi-api-system</artifactId>
  187. <version>${ruoyi.version}</version>
  188. </dependency>
  189. </dependencies>
  190. </dependencyManagement>
  191. <modules>
  192. <module>ruoyi-auth</module>
  193. <module>ruoyi-gateway</module>
  194. <module>ruoyi-visual</module>
  195. <module>ruoyi-modules</module>
  196. <module>ruoyi-api</module>
  197. <module>ruoyi-common</module>
  198. </modules>
  199. <packaging>pom</packaging>
  200. <dependencies>
  201. <!-- bootstrap 启动器 -->
  202. <dependency>
  203. <groupId>org.springframework.cloud</groupId>
  204. <artifactId>spring-cloud-starter-bootstrap</artifactId>
  205. </dependency>
  206. </dependencies>
  207. <build>
  208. <plugins>
  209. <plugin>
  210. <groupId>org.apache.maven.plugins</groupId>
  211. <artifactId>maven-compiler-plugin</artifactId>
  212. <configuration>
  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>