pom.xml 16 KB

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