pom.xml 14 KB

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