pom.xml 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290
  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.5.0</version>
  9. <name>ruoyi</name>
  10. <url>http://www.ruoyi.vip</url>
  11. <description>若依微服务系统</description>
  12. <properties>
  13. <ruoyi.version>2.5.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.7.RELEASE</spring-boot.version>
  18. <spring-cloud.version>Hoxton.SR9</spring-cloud.version>
  19. <spring-cloud-alibaba.version>2.2.5.RELEASE</spring-cloud-alibaba.version>
  20. <spring-boot-admin.version>2.3.1</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. <tobato.version>1.26.5</tobato.version>
  25. <kaptcha.version>2.3.2</kaptcha.version>
  26. <pagehelper.boot.version>1.3.0</pagehelper.boot.version>
  27. <druid.version>1.2.4</druid.version>
  28. <dynamic-ds.version>3.2.1</dynamic-ds.version>
  29. <commons.io.version>2.5</commons.io.version>
  30. <commons.fileupload.version>1.3.3</commons.fileupload.version>
  31. <velocity.version>1.7</velocity.version>
  32. <fastjson.version>1.2.75</fastjson.version>
  33. <minio.version>8.0.3</minio.version>
  34. <poi.version>4.1.2</poi.version>
  35. <common-pool.version>2.6.2</common-pool.version>
  36. </properties>
  37. <profiles>
  38. <profile>
  39. <id>dev</id>
  40. <properties>
  41. <!-- 环境标识,需要与配置文件的名称相对应 -->
  42. <profiles.active>dev</profiles.active>
  43. <!-- <nacos.server>121.36.73.159:8848</nacos.server>-->
  44. <nacos.server>10.16.4.12:8848</nacos.server>
  45. <nacos.discovery.group>EXAM</nacos.discovery.group>
  46. <nacos.discovery.namespace>lzm</nacos.discovery.namespace>
  47. <nacos.config.group>EXAM</nacos.config.group>
  48. <nacos.config.namespace>lzm</nacos.config.namespace>
  49. </properties>
  50. <activation>
  51. <!-- 默认环境 -->
  52. <activeByDefault>true</activeByDefault>
  53. </activation>
  54. </profile>
  55. <profile>
  56. <id>strong3</id>
  57. <properties>
  58. <profiles.active>strong3</profiles.active>
  59. <nacos.server>10.16.4.12:8848</nacos.server>
  60. <nacos.discovery.group>EXAM</nacos.discovery.group>
  61. <nacos.config.group>EXAM</nacos.config.group>
  62. <nacos.discovery.namespace>strong3</nacos.discovery.namespace>
  63. <nacos.config.namespace>strong3</nacos.config.namespace>
  64. </properties>
  65. </profile>
  66. <profile>
  67. <id>hw</id>
  68. <properties>
  69. <profiles.active>hw</profiles.active>
  70. <nacos.server>192.168.0.252:8848</nacos.server>
  71. <nacos.discovery.group>EXAM</nacos.discovery.group>
  72. <nacos.config.group>EXAM</nacos.config.group>
  73. <nacos.discovery.namespace>hw</nacos.discovery.namespace>
  74. <nacos.config.namespace>hw</nacos.config.namespace>
  75. </properties>
  76. </profile>
  77. </profiles>
  78. <!-- 依赖声明 -->
  79. <dependencyManagement>
  80. <dependencies>
  81. <!-- SpringCloud 微服务 -->
  82. <dependency>
  83. <groupId>org.springframework.cloud</groupId>
  84. <artifactId>spring-cloud-dependencies</artifactId>
  85. <version>${spring-cloud.version}</version>
  86. <type>pom</type>
  87. <scope>import</scope>
  88. </dependency>
  89. <!-- SpringCloud Alibaba 微服务 -->
  90. <dependency>
  91. <groupId>com.alibaba.cloud</groupId>
  92. <artifactId>spring-cloud-alibaba-dependencies</artifactId>
  93. <version>${spring-cloud-alibaba.version}</version>
  94. <type>pom</type>
  95. <scope>import</scope>
  96. </dependency>
  97. <!-- SpringBoot 依赖配置 -->
  98. <dependency>
  99. <groupId>org.springframework.boot</groupId>
  100. <artifactId>spring-boot-dependencies</artifactId>
  101. <version>${spring-boot.version}</version>
  102. <type>pom</type>
  103. <scope>import</scope>
  104. </dependency>
  105. <!-- SpringBoot 监控客户端 -->
  106. <dependency>
  107. <groupId>de.codecentric</groupId>
  108. <artifactId>spring-boot-admin-starter-client</artifactId>
  109. <version>${spring-boot-admin.version}</version>
  110. </dependency>
  111. <!-- FastDFS 分布式文件系统 -->
  112. <dependency>
  113. <groupId>com.github.tobato</groupId>
  114. <artifactId>fastdfs-client</artifactId>
  115. <version>${tobato.version}</version>
  116. </dependency>
  117. <!-- Mybatis 依赖配置 -->
  118. <dependency>
  119. <groupId>org.mybatis.spring.boot</groupId>
  120. <artifactId>mybatis-spring-boot-starter</artifactId>
  121. <version>${spring-boot.mybatis}</version>
  122. </dependency>
  123. <!-- Swagger 依赖配置 -->
  124. <dependency>
  125. <groupId>io.swagger</groupId>
  126. <artifactId>swagger-models</artifactId>
  127. <version>${swagger.core.version}</version>
  128. </dependency>
  129. <dependency>
  130. <groupId>io.swagger</groupId>
  131. <artifactId>swagger-annotations</artifactId>
  132. <version>${swagger.core.version}</version>
  133. </dependency>
  134. <!-- 验证码 -->
  135. <dependency>
  136. <groupId>com.github.penggle</groupId>
  137. <artifactId>kaptcha</artifactId>
  138. <version>${kaptcha.version}</version>
  139. </dependency>
  140. <!-- pagehelper 分页插件 -->
  141. <dependency>
  142. <groupId>com.github.pagehelper</groupId>
  143. <artifactId>pagehelper-spring-boot-starter</artifactId>
  144. <version>${pagehelper.boot.version}</version>
  145. </dependency>
  146. <!-- io常用工具类 -->
  147. <dependency>
  148. <groupId>commons-io</groupId>
  149. <artifactId>commons-io</artifactId>
  150. <version>${commons.io.version}</version>
  151. </dependency>
  152. <!-- excel工具 -->
  153. <dependency>
  154. <groupId>org.apache.poi</groupId>
  155. <artifactId>poi-ooxml</artifactId>
  156. <version>${poi.version}</version>
  157. </dependency>
  158. <!-- 文件上传工具类 -->
  159. <dependency>
  160. <groupId>commons-fileupload</groupId>
  161. <artifactId>commons-fileupload</artifactId>
  162. <version>${commons.fileupload.version}</version>
  163. </dependency>
  164. <!-- 代码生成使用模板 -->
  165. <dependency>
  166. <groupId>org.apache.velocity</groupId>
  167. <artifactId>velocity</artifactId>
  168. <version>${velocity.version}</version>
  169. </dependency>
  170. <!-- JSON 解析器和生成器 -->
  171. <dependency>
  172. <groupId>com.alibaba</groupId>
  173. <artifactId>fastjson</artifactId>
  174. <version>${fastjson.version}</version>
  175. </dependency>
  176. <!-- 公共资源池 -->
  177. <dependency>
  178. <groupId>org.apache.commons</groupId>
  179. <artifactId>commons-pool2</artifactId>
  180. <version>${common-pool.version}</version>
  181. </dependency>
  182. <!-- 核心模块 -->
  183. <dependency>
  184. <groupId>com.ruoyi</groupId>
  185. <artifactId>ruoyi-common-core</artifactId>
  186. <version>${ruoyi.version}</version>
  187. </dependency>
  188. <!-- 接口模块 -->
  189. <dependency>
  190. <groupId>com.ruoyi</groupId>
  191. <artifactId>ruoyi-common-swagger</artifactId>
  192. <version>${ruoyi.version}</version>
  193. </dependency>
  194. <!-- 安全模块 -->
  195. <dependency>
  196. <groupId>com.ruoyi</groupId>
  197. <artifactId>ruoyi-common-security</artifactId>
  198. <version>${ruoyi.version}</version>
  199. </dependency>
  200. <!-- 权限范围 -->
  201. <dependency>
  202. <groupId>com.ruoyi</groupId>
  203. <artifactId>ruoyi-common-datascope</artifactId>
  204. <version>${ruoyi.version}</version>
  205. </dependency>
  206. <!-- 多数据源 -->
  207. <dependency>
  208. <groupId>com.ruoyi</groupId>
  209. <artifactId>ruoyi-common-datasource</artifactId>
  210. <version>${ruoyi.version}</version>
  211. </dependency>
  212. <!-- 日志记录 -->
  213. <dependency>
  214. <groupId>com.ruoyi</groupId>
  215. <artifactId>ruoyi-common-log</artifactId>
  216. <version>${ruoyi.version}</version>
  217. </dependency>
  218. <!-- 缓存服务 -->
  219. <dependency>
  220. <groupId>com.ruoyi</groupId>
  221. <artifactId>ruoyi-common-redis</artifactId>
  222. <version>${ruoyi.version}</version>
  223. </dependency>
  224. <!-- 系统接口 -->
  225. <dependency>
  226. <groupId>com.ruoyi</groupId>
  227. <artifactId>ruoyi-api-system</artifactId>
  228. <version>${ruoyi.version}</version>
  229. </dependency>
  230. </dependencies>
  231. </dependencyManagement>
  232. <modules>
  233. <module>ruoyi-auth</module>
  234. <module>ruoyi-gateway</module>
  235. <module>ruoyi-visual</module>
  236. <module>ruoyi-modules</module>
  237. <module>ruoyi-api</module>
  238. <module>ruoyi-common</module>
  239. </modules>
  240. <packaging>pom</packaging>
  241. <dependencies>
  242. </dependencies>
  243. <build>
  244. <plugins>
  245. <plugin>
  246. <groupId>org.apache.maven.plugins</groupId>
  247. <artifactId>maven-compiler-plugin</artifactId>
  248. <configuration>
  249. <source>${java.version}</source>
  250. <target>${java.version}</target>
  251. <encoding>${project.build.sourceEncoding}</encoding>
  252. </configuration>
  253. </plugin>
  254. </plugins>
  255. </build>
  256. </project>