pom.xml 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303
  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>121.36.73.159:848</nacos.server>
  45. <nacos.discovery.group>ZNYL</nacos.discovery.group>
  46. <nacos.discovery.namespace>sky</nacos.discovery.namespace>
  47. <nacos.config.group>ZNYL</nacos.config.group>
  48. <nacos.config.namespace>sky</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>121.36.73.159:848</nacos.server>
  60. <nacos.discovery.group>ZNYL</nacos.discovery.group>
  61. <nacos.config.group>ZNYL</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>prod</id>
  68. <properties>
  69. <profiles.active>prod</profiles.active>
  70. <nacos.server>172.17.0.1:8848</nacos.server>
  71. <nacos.config.user>nacos</nacos.config.user>
  72. <nacos.config.password>1213621766</nacos.config.password>
  73. <nacos.discovery.group>ZNYL</nacos.discovery.group>
  74. <nacos.config.group>ZNYL</nacos.config.group>
  75. <nacos.discovery.namespace>prod</nacos.discovery.namespace>
  76. <nacos.config.namespace>prod</nacos.config.namespace>
  77. </properties>
  78. </profile>
  79. <profile>
  80. <id>hw</id>
  81. <properties>
  82. <profiles.active>hw</profiles.active>
  83. <nacos.server>192.168.0.252:8848</nacos.server>
  84. <nacos.discovery.group>ZNYL</nacos.discovery.group>
  85. <nacos.config.group>ZNYL</nacos.config.group>
  86. <nacos.discovery.namespace>hw</nacos.discovery.namespace>
  87. <nacos.config.namespace>hw</nacos.config.namespace>
  88. </properties>
  89. </profile>
  90. </profiles>
  91. <!-- 依赖声明 -->
  92. <dependencyManagement>
  93. <dependencies>
  94. <!-- SpringCloud 微服务 -->
  95. <dependency>
  96. <groupId>org.springframework.cloud</groupId>
  97. <artifactId>spring-cloud-dependencies</artifactId>
  98. <version>${spring-cloud.version}</version>
  99. <type>pom</type>
  100. <scope>import</scope>
  101. </dependency>
  102. <!-- SpringCloud Alibaba 微服务 -->
  103. <dependency>
  104. <groupId>com.alibaba.cloud</groupId>
  105. <artifactId>spring-cloud-alibaba-dependencies</artifactId>
  106. <version>${spring-cloud-alibaba.version}</version>
  107. <type>pom</type>
  108. <scope>import</scope>
  109. </dependency>
  110. <!-- SpringBoot 依赖配置 -->
  111. <dependency>
  112. <groupId>org.springframework.boot</groupId>
  113. <artifactId>spring-boot-dependencies</artifactId>
  114. <version>${spring-boot.version}</version>
  115. <type>pom</type>
  116. <scope>import</scope>
  117. </dependency>
  118. <!-- SpringBoot 监控客户端 -->
  119. <dependency>
  120. <groupId>de.codecentric</groupId>
  121. <artifactId>spring-boot-admin-starter-client</artifactId>
  122. <version>${spring-boot-admin.version}</version>
  123. </dependency>
  124. <!-- FastDFS 分布式文件系统 -->
  125. <dependency>
  126. <groupId>com.github.tobato</groupId>
  127. <artifactId>fastdfs-client</artifactId>
  128. <version>${tobato.version}</version>
  129. </dependency>
  130. <!-- Mybatis 依赖配置 -->
  131. <dependency>
  132. <groupId>org.mybatis.spring.boot</groupId>
  133. <artifactId>mybatis-spring-boot-starter</artifactId>
  134. <version>${spring-boot.mybatis}</version>
  135. </dependency>
  136. <!-- Swagger 依赖配置 -->
  137. <dependency>
  138. <groupId>io.swagger</groupId>
  139. <artifactId>swagger-models</artifactId>
  140. <version>${swagger.core.version}</version>
  141. </dependency>
  142. <dependency>
  143. <groupId>io.swagger</groupId>
  144. <artifactId>swagger-annotations</artifactId>
  145. <version>${swagger.core.version}</version>
  146. </dependency>
  147. <!-- 验证码 -->
  148. <dependency>
  149. <groupId>com.github.penggle</groupId>
  150. <artifactId>kaptcha</artifactId>
  151. <version>${kaptcha.version}</version>
  152. </dependency>
  153. <!-- pagehelper 分页插件 -->
  154. <dependency>
  155. <groupId>com.github.pagehelper</groupId>
  156. <artifactId>pagehelper-spring-boot-starter</artifactId>
  157. <version>${pagehelper.boot.version}</version>
  158. </dependency>
  159. <!-- io常用工具类 -->
  160. <dependency>
  161. <groupId>commons-io</groupId>
  162. <artifactId>commons-io</artifactId>
  163. <version>${commons.io.version}</version>
  164. </dependency>
  165. <!-- excel工具 -->
  166. <dependency>
  167. <groupId>org.apache.poi</groupId>
  168. <artifactId>poi-ooxml</artifactId>
  169. <version>${poi.version}</version>
  170. </dependency>
  171. <!-- 文件上传工具类 -->
  172. <dependency>
  173. <groupId>commons-fileupload</groupId>
  174. <artifactId>commons-fileupload</artifactId>
  175. <version>${commons.fileupload.version}</version>
  176. </dependency>
  177. <!-- 代码生成使用模板 -->
  178. <dependency>
  179. <groupId>org.apache.velocity</groupId>
  180. <artifactId>velocity</artifactId>
  181. <version>${velocity.version}</version>
  182. </dependency>
  183. <!-- JSON 解析器和生成器 -->
  184. <dependency>
  185. <groupId>com.alibaba</groupId>
  186. <artifactId>fastjson</artifactId>
  187. <version>${fastjson.version}</version>
  188. </dependency>
  189. <!-- 公共资源池 -->
  190. <dependency>
  191. <groupId>org.apache.commons</groupId>
  192. <artifactId>commons-pool2</artifactId>
  193. <version>${common-pool.version}</version>
  194. </dependency>
  195. <!-- 核心模块 -->
  196. <dependency>
  197. <groupId>com.ruoyi</groupId>
  198. <artifactId>ruoyi-common-core</artifactId>
  199. <version>${ruoyi.version}</version>
  200. </dependency>
  201. <!-- 接口模块 -->
  202. <dependency>
  203. <groupId>com.ruoyi</groupId>
  204. <artifactId>ruoyi-common-swagger</artifactId>
  205. <version>${ruoyi.version}</version>
  206. </dependency>
  207. <!-- 安全模块 -->
  208. <dependency>
  209. <groupId>com.ruoyi</groupId>
  210. <artifactId>ruoyi-common-security</artifactId>
  211. <version>${ruoyi.version}</version>
  212. </dependency>
  213. <!-- 权限范围 -->
  214. <dependency>
  215. <groupId>com.ruoyi</groupId>
  216. <artifactId>ruoyi-common-datascope</artifactId>
  217. <version>${ruoyi.version}</version>
  218. </dependency>
  219. <!-- 多数据源 -->
  220. <dependency>
  221. <groupId>com.ruoyi</groupId>
  222. <artifactId>ruoyi-common-datasource</artifactId>
  223. <version>${ruoyi.version}</version>
  224. </dependency>
  225. <!-- 日志记录 -->
  226. <dependency>
  227. <groupId>com.ruoyi</groupId>
  228. <artifactId>ruoyi-common-log</artifactId>
  229. <version>${ruoyi.version}</version>
  230. </dependency>
  231. <!-- 缓存服务 -->
  232. <dependency>
  233. <groupId>com.ruoyi</groupId>
  234. <artifactId>ruoyi-common-redis</artifactId>
  235. <version>${ruoyi.version}</version>
  236. </dependency>
  237. <!-- 系统接口 -->
  238. <dependency>
  239. <groupId>com.ruoyi</groupId>
  240. <artifactId>ruoyi-api-system</artifactId>
  241. <version>${ruoyi.version}</version>
  242. </dependency>
  243. </dependencies>
  244. </dependencyManagement>
  245. <modules>
  246. <module>ruoyi-auth</module>
  247. <module>ruoyi-gateway</module>
  248. <module>ruoyi-visual</module>
  249. <module>ruoyi-modules</module>
  250. <module>ruoyi-api</module>
  251. <module>ruoyi-common</module>
  252. </modules>
  253. <packaging>pom</packaging>
  254. <dependencies>
  255. </dependencies>
  256. <build>
  257. <plugins>
  258. <plugin>
  259. <groupId>org.apache.maven.plugins</groupId>
  260. <artifactId>maven-compiler-plugin</artifactId>
  261. <configuration>
  262. <source>${java.version}</source>
  263. <target>${java.version}</target>
  264. <encoding>${project.build.sourceEncoding}</encoding>
  265. </configuration>
  266. </plugin>
  267. </plugins>
  268. </build>
  269. </project>