pom.xml 10 KB

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