pom.xml 14 KB

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