pom.xml 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406
  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-vue-plus</artifactId>
  8. <version>3.2.0</version>
  9. <name>RuoYi-Vue-Plus</name>
  10. <url>https://gitee.com/JavaLionLi/RuoYi-Vue-Plus</url>
  11. <description>RuoYi-Vue-Plus后台管理系统</description>
  12. <properties>
  13. <ruoyi-vue-plus.version>3.2.0</ruoyi-vue-plus.version>
  14. <spring-boot.version>2.5.5</spring-boot.version>
  15. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  16. <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
  17. <java.version>1.8</java.version>
  18. <maven-jar-plugin.version>3.2.0</maven-jar-plugin.version>
  19. <druid.version>1.2.8</druid.version>
  20. <knife4j.version>3.0.3</knife4j.version>
  21. <swagger-annotations.version>1.5.22</swagger-annotations.version>
  22. <poi.version>4.1.2</poi.version>
  23. <easyexcel.version>2.2.11</easyexcel.version>
  24. <velocity.version>1.7</velocity.version>
  25. <jwt.version>0.9.1</jwt.version>
  26. <mybatis-plus.version>3.4.3.4</mybatis-plus.version>
  27. <p6spy.version>3.9.1</p6spy.version>
  28. <hutool.version>5.7.13</hutool.version>
  29. <feign.version>3.0.3</feign.version>
  30. <feign-okhttp.version>11.6</feign-okhttp.version>
  31. <okhttp.version>4.9.1</okhttp.version>
  32. <spring-boot-admin.version>2.5.2</spring-boot-admin.version>
  33. <redisson.version>3.16.3</redisson.version>
  34. <lock4j.version>2.2.1</lock4j.version>
  35. <dynamic-ds.version>3.4.1</dynamic-ds.version>
  36. <tlog.version>1.3.2</tlog.version>
  37. <!-- jdk11 缺失依赖 jaxb-->
  38. <jaxb.version>3.0.1</jaxb.version>
  39. <!-- OSS 配置 -->
  40. <qiniu.version>7.8.0</qiniu.version>
  41. <aliyun.oss.version>3.13.1</aliyun.oss.version>
  42. <qcloud.cos.version>5.6.55</qcloud.cos.version>
  43. <minio.version>8.3.0</minio.version>
  44. <!-- docker 配置 -->
  45. <docker.registry.url>localhost</docker.registry.url>
  46. <docker.registry.host>http://${docker.registry.url}:2375</docker.registry.host>
  47. <docker.namespace>ruoyi</docker.namespace>
  48. <docker.plugin.version>1.2.2</docker.plugin.version>
  49. <!-- xxl job-->
  50. <netty-all.version>4.1.58.Final</netty-all.version>
  51. <gson.version>2.8.6</gson.version>
  52. <groovy.version>3.0.7</groovy.version>
  53. <spring.version>5.3.3</spring.version>
  54. <slf4j-api.version>1.7.30</slf4j-api.version>
  55. <javax.annotation-api.version>1.3.2</javax.annotation-api.version>
  56. <mybatis-spring-boot-starter.version>2.1.4</mybatis-spring-boot-starter.version>
  57. <mysql-connector-java.version>8.0.23</mysql-connector-java.version>
  58. <xxl-job-core-version>2.3.0</xxl-job-core-version>
  59. </properties>
  60. <!-- 依赖声明 -->
  61. <dependencyManagement>
  62. <dependencies>
  63. <!-- SpringBoot的依赖配置-->
  64. <dependency>
  65. <groupId>org.springframework.boot</groupId>
  66. <artifactId>spring-boot-dependencies</artifactId>
  67. <version>${spring-boot.version}</version>
  68. <type>pom</type>
  69. <scope>import</scope>
  70. </dependency>
  71. <!-- 阿里数据库连接池 -->
  72. <dependency>
  73. <groupId>com.alibaba</groupId>
  74. <artifactId>druid-spring-boot-starter</artifactId>
  75. <version>${druid.version}</version>
  76. </dependency>
  77. <dependency>
  78. <groupId>com.github.xiaoymin</groupId>
  79. <artifactId>knife4j-spring-boot-starter</artifactId>
  80. <version>${knife4j.version}</version>
  81. <exclusions>
  82. <exclusion>
  83. <artifactId>swagger-annotations</artifactId>
  84. <groupId>io.swagger</groupId>
  85. </exclusion>
  86. </exclusions>
  87. </dependency>
  88. <dependency>
  89. <groupId>io.swagger</groupId>
  90. <artifactId>swagger-annotations</artifactId>
  91. <version>${swagger-annotations.version}</version>
  92. </dependency>
  93. <!-- excel工具 -->
  94. <dependency>
  95. <groupId>org.apache.poi</groupId>
  96. <artifactId>poi-ooxml</artifactId>
  97. <version>${poi.version}</version>
  98. </dependency>
  99. <dependency>
  100. <groupId>com.alibaba</groupId>
  101. <artifactId>easyexcel</artifactId>
  102. <version>${easyexcel.version}</version>
  103. <exclusions>
  104. <exclusion>
  105. <groupId>org.apache.poi</groupId>
  106. <artifactId>poi</artifactId>
  107. </exclusion>
  108. <exclusion>
  109. <groupId>org.apache.poi</groupId>
  110. <artifactId>poi-ooxml-schemas</artifactId>
  111. </exclusion>
  112. </exclusions>
  113. </dependency>
  114. <!-- velocity代码生成使用模板 -->
  115. <dependency>
  116. <groupId>org.apache.velocity</groupId>
  117. <artifactId>velocity</artifactId>
  118. <version>${velocity.version}</version>
  119. </dependency>
  120. <!-- Token生成与解析-->
  121. <dependency>
  122. <groupId>io.jsonwebtoken</groupId>
  123. <artifactId>jjwt</artifactId>
  124. <version>${jwt.version}</version>
  125. </dependency>
  126. <!-- dynamic-datasource 多数据源-->
  127. <dependency>
  128. <groupId>com.baomidou</groupId>
  129. <artifactId>dynamic-datasource-spring-boot-starter</artifactId>
  130. <version>${dynamic-ds.version}</version>
  131. </dependency>
  132. <dependency>
  133. <groupId>com.baomidou</groupId>
  134. <artifactId>mybatis-plus-boot-starter</artifactId>
  135. <version>${mybatis-plus.version}</version>
  136. </dependency>
  137. <dependency>
  138. <groupId>com.baomidou</groupId>
  139. <artifactId>mybatis-plus-extension</artifactId>
  140. <version>${mybatis-plus.version}</version>
  141. </dependency>
  142. <!-- sql性能分析插件 -->
  143. <dependency>
  144. <groupId>p6spy</groupId>
  145. <artifactId>p6spy</artifactId>
  146. <version>${p6spy.version}</version>
  147. </dependency>
  148. <dependency>
  149. <groupId>cn.hutool</groupId>
  150. <artifactId>hutool-all</artifactId>
  151. <version>${hutool.version}</version>
  152. </dependency>
  153. <!-- @deprecated 由于使用人数较少 决定与 3.4.0 版本移除 -->
  154. <dependency>
  155. <groupId>org.springframework.cloud</groupId>
  156. <artifactId>spring-cloud-starter-openfeign</artifactId>
  157. <version>${feign.version}</version>
  158. <exclusions>
  159. <exclusion>
  160. <artifactId>feign-core</artifactId>
  161. <groupId>io.github.openfeign</groupId>
  162. </exclusion>
  163. </exclusions>
  164. </dependency>
  165. <!-- @deprecated 由于使用人数较少 决定与 3.4.0 版本移除 -->
  166. <dependency>
  167. <groupId>io.github.openfeign</groupId>
  168. <artifactId>feign-okhttp</artifactId>
  169. <version>${feign-okhttp.version}</version>
  170. </dependency>
  171. <dependency>
  172. <groupId>com.squareup.okhttp3</groupId>
  173. <artifactId>okhttp</artifactId>
  174. <version>${okhttp.version}</version>
  175. </dependency>
  176. <dependency>
  177. <groupId>de.codecentric</groupId>
  178. <artifactId>spring-boot-admin-starter-server</artifactId>
  179. <version>${spring-boot-admin.version}</version>
  180. </dependency>
  181. <dependency>
  182. <groupId>de.codecentric</groupId>
  183. <artifactId>spring-boot-admin-starter-client</artifactId>
  184. <version>${spring-boot-admin.version}</version>
  185. </dependency>
  186. <!--redisson-->
  187. <dependency>
  188. <groupId>org.redisson</groupId>
  189. <artifactId>redisson-spring-boot-starter</artifactId>
  190. <version>${redisson.version}</version>
  191. </dependency>
  192. <dependency>
  193. <groupId>com.baomidou</groupId>
  194. <artifactId>lock4j-redisson-spring-boot-starter</artifactId>
  195. <version>${lock4j.version}</version>
  196. </dependency>
  197. <dependency>
  198. <groupId>com.yomahub</groupId>
  199. <artifactId>tlog-spring-boot-configuration</artifactId>
  200. <version>${tlog.version}</version>
  201. </dependency>
  202. <dependency>
  203. <groupId>com.yomahub</groupId>
  204. <artifactId>tlog-webroot</artifactId>
  205. <version>${tlog.version}</version>
  206. <exclusions>
  207. <exclusion>
  208. <artifactId>javassist</artifactId>
  209. <groupId>org.javassist</groupId>
  210. </exclusion>
  211. <exclusion>
  212. <artifactId>guava</artifactId>
  213. <groupId>com.google.guava</groupId>
  214. </exclusion>
  215. </exclusions>
  216. </dependency>
  217. <dependency>
  218. <groupId>com.yomahub</groupId>
  219. <artifactId>tlog-feign</artifactId>
  220. <version>${tlog.version}</version>
  221. </dependency>
  222. <!-- 定时任务 @deprecated 3.5.0删除 迁移至xxl-job -->
  223. <dependency>
  224. <groupId>com.ruoyi</groupId>
  225. <artifactId>ruoyi-quartz</artifactId>
  226. <version>${ruoyi-vue-plus.version}</version>
  227. </dependency>
  228. <!-- 代码生成-->
  229. <dependency>
  230. <groupId>com.ruoyi</groupId>
  231. <artifactId>ruoyi-generator</artifactId>
  232. <version>${ruoyi-vue-plus.version}</version>
  233. </dependency>
  234. <!-- 核心模块-->
  235. <dependency>
  236. <groupId>com.ruoyi</groupId>
  237. <artifactId>ruoyi-framework</artifactId>
  238. <version>${ruoyi-vue-plus.version}</version>
  239. </dependency>
  240. <!-- 系统模块-->
  241. <dependency>
  242. <groupId>com.ruoyi</groupId>
  243. <artifactId>ruoyi-system</artifactId>
  244. <version>${ruoyi-vue-plus.version}</version>
  245. </dependency>
  246. <!-- 通用工具-->
  247. <dependency>
  248. <groupId>com.ruoyi</groupId>
  249. <artifactId>ruoyi-common</artifactId>
  250. <version>${ruoyi-vue-plus.version}</version>
  251. </dependency>
  252. <!-- demo模块 -->
  253. <dependency>
  254. <groupId>com.ruoyi</groupId>
  255. <artifactId>ruoyi-oss</artifactId>
  256. <version>${ruoyi-vue-plus.version}</version>
  257. </dependency>
  258. <!-- demo模块 -->
  259. <dependency>
  260. <groupId>com.ruoyi</groupId>
  261. <artifactId>ruoyi-demo</artifactId>
  262. <version>${ruoyi-vue-plus.version}</version>
  263. </dependency>
  264. </dependencies>
  265. </dependencyManagement>
  266. <modules>
  267. <module>ruoyi-admin</module>
  268. <module>ruoyi-framework</module>
  269. <module>ruoyi-system</module>
  270. <module>ruoyi-quartz</module>
  271. <module>ruoyi-generator</module>
  272. <module>ruoyi-common</module>
  273. <module>ruoyi-demo</module>
  274. <module>ruoyi-extend</module>
  275. <module>ruoyi-oss</module>
  276. </modules>
  277. <packaging>pom</packaging>
  278. <dependencies>
  279. <!-- jdk11 缺失依赖 jaxb-->
  280. <dependency>
  281. <groupId>com.sun.xml.bind</groupId>
  282. <artifactId>jaxb-impl</artifactId>
  283. <version>${jaxb.version}</version>
  284. </dependency>
  285. </dependencies>
  286. <build>
  287. <plugins>
  288. <plugin>
  289. <groupId>org.apache.maven.plugins</groupId>
  290. <artifactId>maven-compiler-plugin</artifactId>
  291. <version>3.1</version>
  292. <configuration>
  293. <source>${java.version}</source>
  294. <target>${java.version}</target>
  295. <encoding>${project.build.sourceEncoding}</encoding>
  296. </configuration>
  297. </plugin>
  298. </plugins>
  299. <resources>
  300. <resource>
  301. <!--打包该目录下的 application.yml -->
  302. <directory>src/main/resources</directory>
  303. <!-- 启用过滤 即该资源中的变量将会被过滤器中的值替换 -->
  304. <filtering>true</filtering>
  305. </resource>
  306. </resources>
  307. </build>
  308. <repositories>
  309. <repository>
  310. <id>public</id>
  311. <name>aliyun nexus</name>
  312. <url>https://maven.aliyun.com/repository/public/</url>
  313. <releases>
  314. <enabled>true</enabled>
  315. </releases>
  316. </repository>
  317. </repositories>
  318. <pluginRepositories>
  319. <pluginRepository>
  320. <id>public</id>
  321. <name>aliyun nexus</name>
  322. <url>https://maven.aliyun.com/repository/public/</url>
  323. <releases>
  324. <enabled>true</enabled>
  325. </releases>
  326. <snapshots>
  327. <enabled>false</enabled>
  328. </snapshots>
  329. </pluginRepository>
  330. </pluginRepositories>
  331. <profiles>
  332. <profile>
  333. <id>local</id>
  334. <properties>
  335. <!-- 环境标识,需要与配置文件的名称相对应 -->
  336. <profiles.active>local</profiles.active>
  337. <logging.level>debug</logging.level>
  338. <endpoints.include>'*'</endpoints.include>
  339. </properties>
  340. </profile>
  341. <profile>
  342. <id>dev</id>
  343. <properties>
  344. <!-- 环境标识,需要与配置文件的名称相对应 -->
  345. <profiles.active>dev</profiles.active>
  346. <logging.level>debug</logging.level>
  347. <endpoints.include>'*'</endpoints.include>
  348. </properties>
  349. <activation>
  350. <!-- 默认环境 -->
  351. <activeByDefault>true</activeByDefault>
  352. </activation>
  353. </profile>
  354. <profile>
  355. <id>prod</id>
  356. <properties>
  357. <profiles.active>prod</profiles.active>
  358. <logging.level>warn</logging.level>
  359. <endpoints.include>health, info, logfile</endpoints.include>
  360. </properties>
  361. </profile>
  362. </profiles>
  363. </project>