pom.xml 15 KB

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