pom.xml 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353
  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. </profiles>
  83. <!-- 依赖声明 -->
  84. <dependencyManagement>
  85. <dependencies>
  86. <!-- SpringCloud 微服务 -->
  87. <dependency>
  88. <groupId>org.springframework.cloud</groupId>
  89. <artifactId>spring-cloud-dependencies</artifactId>
  90. <version>${spring-cloud.version}</version>
  91. <type>pom</type>
  92. <scope>import</scope>
  93. </dependency>
  94. <!-- SpringCloud Alibaba 微服务 -->
  95. <dependency>
  96. <groupId>com.alibaba.cloud</groupId>
  97. <artifactId>spring-cloud-alibaba-dependencies</artifactId>
  98. <version>${spring-cloud-alibaba.version}</version>
  99. <type>pom</type>
  100. <scope>import</scope>
  101. </dependency>
  102. <!-- Alibaba Nacos 配置 -->
  103. <dependency>
  104. <groupId>com.alibaba.nacos</groupId>
  105. <artifactId>nacos-client</artifactId>
  106. <version>${alibaba.nacos.version}</version>
  107. </dependency>
  108. <!-- Alibaba Seata 配置 -->
  109. <dependency>
  110. <groupId>io.seata</groupId>
  111. <artifactId>seata-spring-boot-starter</artifactId>
  112. <version>${alibaba.seata.version}</version>
  113. </dependency>
  114. <!-- SpringBoot 依赖配置 -->
  115. <dependency>
  116. <groupId>org.springframework.boot</groupId>
  117. <artifactId>spring-boot-dependencies</artifactId>
  118. <version>${spring-boot.version}</version>
  119. <type>pom</type>
  120. <scope>import</scope>
  121. </dependency>
  122. <!-- FastDFS 分布式文件系统 -->
  123. <dependency>
  124. <groupId>com.github.tobato</groupId>
  125. <artifactId>fastdfs-client</artifactId>
  126. <version>${tobato.version}</version>
  127. </dependency>
  128. <!-- Mybatis 依赖配置 -->
  129. <dependency>
  130. <groupId>org.mybatis.spring.boot</groupId>
  131. <artifactId>mybatis-spring-boot-starter</artifactId>
  132. <version>${spring-boot.mybatis}</version>
  133. </dependency>
  134. <!-- Swagger 依赖配置 -->
  135. <dependency>
  136. <groupId>io.swagger</groupId>
  137. <artifactId>swagger-models</artifactId>
  138. <version>${swagger.core.version}</version>
  139. </dependency>
  140. <dependency>
  141. <groupId>io.swagger</groupId>
  142. <artifactId>swagger-annotations</artifactId>
  143. <version>${swagger.core.version}</version>
  144. </dependency>
  145. <!-- 验证码 -->
  146. <dependency>
  147. <groupId>com.github.penggle</groupId>
  148. <artifactId>kaptcha</artifactId>
  149. <version>${kaptcha.version}</version>
  150. </dependency>
  151. <!-- pagehelper 分页插件 -->
  152. <dependency>
  153. <groupId>com.github.pagehelper</groupId>
  154. <artifactId>pagehelper-spring-boot-starter</artifactId>
  155. <version>${pagehelper.boot.version}</version>
  156. </dependency>
  157. <!-- io常用工具类 -->
  158. <dependency>
  159. <groupId>commons-io</groupId>
  160. <artifactId>commons-io</artifactId>
  161. <version>${commons.io.version}</version>
  162. </dependency>
  163. <!-- excel工具 -->
  164. <dependency>
  165. <groupId>org.apache.poi</groupId>
  166. <artifactId>poi-ooxml</artifactId>
  167. <version>${poi.version}</version>
  168. </dependency>
  169. <!-- 文件上传工具类 -->
  170. <dependency>
  171. <groupId>commons-fileupload</groupId>
  172. <artifactId>commons-fileupload</artifactId>
  173. <version>${commons.fileupload.version}</version>
  174. </dependency>
  175. <!-- 代码生成使用模板 -->
  176. <dependency>
  177. <groupId>org.apache.velocity</groupId>
  178. <artifactId>velocity-engine-core</artifactId>
  179. <version>${velocity.version}</version>
  180. </dependency>
  181. <!-- Collection 增强Java集合框架 -->
  182. <dependency>
  183. <groupId>commons-collections</groupId>
  184. <artifactId>commons-collections</artifactId>
  185. <version>${commons-collections.version}</version>
  186. </dependency>
  187. <!-- JSON 解析器和生成器 -->
  188. <dependency>
  189. <groupId>com.alibaba.fastjson2</groupId>
  190. <artifactId>fastjson2</artifactId>
  191. <version>${fastjson.version}</version>
  192. </dependency>
  193. <!-- JWT -->
  194. <dependency>
  195. <groupId>io.jsonwebtoken</groupId>
  196. <artifactId>jjwt</artifactId>
  197. <version>${jjwt.version}</version>
  198. </dependency>
  199. <!-- 线程传递值 -->
  200. <dependency>
  201. <groupId>com.alibaba</groupId>
  202. <artifactId>transmittable-thread-local</artifactId>
  203. <version>${transmittable-thread-local.version}</version>
  204. </dependency>
  205. <!-- 核心模块 -->
  206. <dependency>
  207. <groupId>com.ruoyi</groupId>
  208. <artifactId>ruoyi-common-core</artifactId>
  209. <version>${ruoyi.version}</version>
  210. </dependency>
  211. <!-- 接口模块 -->
  212. <dependency>
  213. <groupId>com.ruoyi</groupId>
  214. <artifactId>ruoyi-common-swagger</artifactId>
  215. <version>${ruoyi.version}</version>
  216. </dependency>
  217. <!-- 安全模块 -->
  218. <dependency>
  219. <groupId>com.ruoyi</groupId>
  220. <artifactId>ruoyi-common-security</artifactId>
  221. <version>${ruoyi.version}</version>
  222. </dependency>
  223. <!-- 权限范围 -->
  224. <dependency>
  225. <groupId>com.ruoyi</groupId>
  226. <artifactId>ruoyi-common-datascope</artifactId>
  227. <version>${ruoyi.version}</version>
  228. </dependency>
  229. <!-- 多数据源 -->
  230. <dependency>
  231. <groupId>com.ruoyi</groupId>
  232. <artifactId>ruoyi-common-datasource</artifactId>
  233. <version>${ruoyi.version}</version>
  234. </dependency>
  235. <!-- 日志记录 -->
  236. <dependency>
  237. <groupId>com.ruoyi</groupId>
  238. <artifactId>ruoyi-common-log</artifactId>
  239. <version>${ruoyi.version}</version>
  240. </dependency>
  241. <!-- activiti模块 -->
  242. <dependency>
  243. <groupId>com.ruoyi</groupId>
  244. <artifactId>ruoyi-common-activiti</artifactId>
  245. <version>${ruoyi.version}</version>
  246. </dependency>
  247. <!-- 缓存服务 -->
  248. <dependency>
  249. <groupId>com.ruoyi</groupId>
  250. <artifactId>ruoyi-common-redis</artifactId>
  251. <version>${ruoyi.version}</version>
  252. </dependency>
  253. <!-- 系统接口 -->
  254. <dependency>
  255. <groupId>com.ruoyi</groupId>
  256. <artifactId>ruoyi-api-system</artifactId>
  257. <version>${ruoyi.version}</version>
  258. </dependency>
  259. </dependencies>
  260. </dependencyManagement>
  261. <modules>
  262. <module>ruoyi-auth</module>
  263. <module>ruoyi-gateway</module>
  264. <module>ruoyi-visual</module>
  265. <module>ruoyi-modules</module>
  266. <module>ruoyi-api</module>
  267. <module>ruoyi-common</module>
  268. </modules>
  269. <packaging>pom</packaging>
  270. <dependencies>
  271. <!-- bootstrap 启动器 -->
  272. <dependency>
  273. <groupId>org.springframework.cloud</groupId>
  274. <artifactId>spring-cloud-starter-bootstrap</artifactId>
  275. </dependency>
  276. </dependencies>
  277. <build>
  278. <plugins>
  279. <plugin>
  280. <groupId>org.apache.maven.plugins</groupId>
  281. <artifactId>maven-compiler-plugin</artifactId>
  282. <version>3.1</version>
  283. <configuration>
  284. <source>${java.version}</source>
  285. <target>${java.version}</target>
  286. <encoding>${project.build.sourceEncoding}</encoding>
  287. </configuration>
  288. </plugin>
  289. </plugins>
  290. </build>
  291. <repositories>
  292. <repository>
  293. <id>public</id>
  294. <name>aliyun nexus</name>
  295. <url>https://maven.aliyun.com/repository/public</url>
  296. <releases>
  297. <enabled>true</enabled>
  298. </releases>
  299. </repository>
  300. </repositories>
  301. <pluginRepositories>
  302. <pluginRepository>
  303. <id>public</id>
  304. <name>aliyun nexus</name>
  305. <url>https://maven.aliyun.com/repository/public</url>
  306. <releases>
  307. <enabled>true</enabled>
  308. </releases>
  309. <snapshots>
  310. <enabled>false</enabled>
  311. </snapshots>
  312. </pluginRepository>
  313. </pluginRepositories>
  314. </project>