pom.xml 16 KB

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