pom.xml 12 KB

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