pom.xml 8.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230
  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>2.3.0</version>
  9. <name>ruoyi</name>
  10. <url>http://www.ruoyi.vip</url>
  11. <description>若依微服务系统</description>
  12. <properties>
  13. <ruoyi.version>2.3.0</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.3.4.RELEASE</spring-boot.version>
  18. <spring-cloud.version>Hoxton.SR8</spring-cloud.version>
  19. <spring-cloud-alibaba.version>2.2.3.RELEASE</spring-cloud-alibaba.version>
  20. <spring-boot-admin.version>2.3.0</spring-boot-admin.version>
  21. <spring-boot.mybatis>2.1.3</spring-boot.mybatis>
  22. <swagger.fox.version>2.9.2</swagger.fox.version>
  23. <swagger.core.version>1.5.24</swagger.core.version>
  24. <kaptcha.version>2.3.2</kaptcha.version>
  25. <pagehelper.boot.version>1.3.0</pagehelper.boot.version>
  26. <commons.io.version>2.5</commons.io.version>
  27. <commons.fileupload.version>1.3.3</commons.fileupload.version>
  28. <velocity.version>1.7</velocity.version>
  29. <fastjson.version>1.2.74</fastjson.version>
  30. <poi.version>3.17</poi.version>
  31. <common-pool.version>2.6.2</common-pool.version>
  32. </properties>
  33. <!-- 依赖声明 -->
  34. <dependencyManagement>
  35. <dependencies>
  36. <!-- SpringCloud 微服务 -->
  37. <dependency>
  38. <groupId>org.springframework.cloud</groupId>
  39. <artifactId>spring-cloud-dependencies</artifactId>
  40. <version>${spring-cloud.version}</version>
  41. <type>pom</type>
  42. <scope>import</scope>
  43. </dependency>
  44. <!-- SpringCloud Alibaba 微服务 -->
  45. <dependency>
  46. <groupId>com.alibaba.cloud</groupId>
  47. <artifactId>spring-cloud-alibaba-dependencies</artifactId>
  48. <version>${spring-cloud-alibaba.version}</version>
  49. <type>pom</type>
  50. <scope>import</scope>
  51. </dependency>
  52. <!-- SpringBoot 依赖配置 -->
  53. <dependency>
  54. <groupId>org.springframework.boot</groupId>
  55. <artifactId>spring-boot-dependencies</artifactId>
  56. <version>${spring-boot.version}</version>
  57. <type>pom</type>
  58. <scope>import</scope>
  59. </dependency>
  60. <!-- SpringBoot 监控客户端 -->
  61. <dependency>
  62. <groupId>de.codecentric</groupId>
  63. <artifactId>spring-boot-admin-starter-client</artifactId>
  64. <version>${spring-boot-admin.version}</version>
  65. </dependency>
  66. <!-- Mybatis 依赖配置 -->
  67. <dependency>
  68. <groupId>org.mybatis.spring.boot</groupId>
  69. <artifactId>mybatis-spring-boot-starter</artifactId>
  70. <version>${spring-boot.mybatis}</version>
  71. </dependency>
  72. <!-- Swagger 依赖配置 -->
  73. <dependency>
  74. <groupId>io.swagger</groupId>
  75. <artifactId>swagger-models</artifactId>
  76. <version>${swagger.core.version}</version>
  77. </dependency>
  78. <dependency>
  79. <groupId>io.swagger</groupId>
  80. <artifactId>swagger-annotations</artifactId>
  81. <version>${swagger.core.version}</version>
  82. </dependency>
  83. <!-- 验证码 -->
  84. <dependency>
  85. <groupId>com.github.penggle</groupId>
  86. <artifactId>kaptcha</artifactId>
  87. <version>${kaptcha.version}</version>
  88. </dependency>
  89. <!-- pagehelper 分页插件 -->
  90. <dependency>
  91. <groupId>com.github.pagehelper</groupId>
  92. <artifactId>pagehelper-spring-boot-starter</artifactId>
  93. <version>${pagehelper.boot.version}</version>
  94. </dependency>
  95. <!-- io常用工具类 -->
  96. <dependency>
  97. <groupId>commons-io</groupId>
  98. <artifactId>commons-io</artifactId>
  99. <version>${commons.io.version}</version>
  100. </dependency>
  101. <!-- excel工具 -->
  102. <dependency>
  103. <groupId>org.apache.poi</groupId>
  104. <artifactId>poi-ooxml</artifactId>
  105. <version>${poi.version}</version>
  106. </dependency>
  107. <!-- 文件上传工具类 -->
  108. <dependency>
  109. <groupId>commons-fileupload</groupId>
  110. <artifactId>commons-fileupload</artifactId>
  111. <version>${commons.fileupload.version}</version>
  112. </dependency>
  113. <!-- 代码生成使用模板 -->
  114. <dependency>
  115. <groupId>org.apache.velocity</groupId>
  116. <artifactId>velocity</artifactId>
  117. <version>${velocity.version}</version>
  118. </dependency>
  119. <!-- JSON 解析器和生成器 -->
  120. <dependency>
  121. <groupId>com.alibaba</groupId>
  122. <artifactId>fastjson</artifactId>
  123. <version>${fastjson.version}</version>
  124. </dependency>
  125. <!-- 公共资源池 -->
  126. <dependency>
  127. <groupId>org.apache.commons</groupId>
  128. <artifactId>commons-pool2</artifactId>
  129. <version>${common-pool.version}</version>
  130. </dependency>
  131. <!-- 核心模块 -->
  132. <dependency>
  133. <groupId>com.ruoyi</groupId>
  134. <artifactId>ruoyi-common-core</artifactId>
  135. <version>${ruoyi.version}</version>
  136. </dependency>
  137. <!-- 接口模块 -->
  138. <dependency>
  139. <groupId>com.ruoyi</groupId>
  140. <artifactId>ruoyi-common-swagger</artifactId>
  141. <version>${ruoyi.version}</version>
  142. </dependency>
  143. <!-- 安全模块 -->
  144. <dependency>
  145. <groupId>com.ruoyi</groupId>
  146. <artifactId>ruoyi-common-security</artifactId>
  147. <version>${ruoyi.version}</version>
  148. </dependency>
  149. <!-- 权限范围 -->
  150. <dependency>
  151. <groupId>com.ruoyi</groupId>
  152. <artifactId>ruoyi-common-datascope</artifactId>
  153. <version>${ruoyi.version}</version>
  154. </dependency>
  155. <!-- 日志记录 -->
  156. <dependency>
  157. <groupId>com.ruoyi</groupId>
  158. <artifactId>ruoyi-common-log</artifactId>
  159. <version>${ruoyi.version}</version>
  160. </dependency>
  161. <!-- 缓存服务 -->
  162. <dependency>
  163. <groupId>com.ruoyi</groupId>
  164. <artifactId>ruoyi-common-redis</artifactId>
  165. <version>${ruoyi.version}</version>
  166. </dependency>
  167. <!-- 系统接口 -->
  168. <dependency>
  169. <groupId>com.ruoyi</groupId>
  170. <artifactId>ruoyi-api-system</artifactId>
  171. <version>${ruoyi.version}</version>
  172. </dependency>
  173. </dependencies>
  174. </dependencyManagement>
  175. <modules>
  176. <module>ruoyi-auth</module>
  177. <module>ruoyi-gateway</module>
  178. <module>ruoyi-visual</module>
  179. <module>ruoyi-modules</module>
  180. <module>ruoyi-api</module>
  181. <module>ruoyi-common</module>
  182. </modules>
  183. <packaging>pom</packaging>
  184. <dependencies>
  185. </dependencies>
  186. <build>
  187. <plugins>
  188. <plugin>
  189. <groupId>org.apache.maven.plugins</groupId>
  190. <artifactId>maven-compiler-plugin</artifactId>
  191. <configuration>
  192. <source>${java.version}</source>
  193. <target>${java.version}</target>
  194. <encoding>${project.build.sourceEncoding}</encoding>
  195. </configuration>
  196. </plugin>
  197. </plugins>
  198. </build>
  199. </project>