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.3.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.3.0</ruoyi-vue-plus.version>
  14. <spring-boot.version>2.5.6</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.15</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.3</tlog.version>
  37. <xxl-job.version>2.3.0</xxl-job.version>
  38. <!-- jdk11 缺失依赖 jaxb-->
  39. <jaxb.version>3.0.1</jaxb.version>
  40. <!-- OSS 配置 -->
  41. <qiniu.version>7.8.0</qiniu.version>
  42. <aliyun.oss.version>3.13.1</aliyun.oss.version>
  43. <qcloud.cos.version>5.6.58</qcloud.cos.version>
  44. <minio.version>8.3.3</minio.version>
  45. <!-- docker 配置 -->
  46. <docker.registry.url>localhost</docker.registry.url>
  47. <docker.registry.host>http://${docker.registry.url}:2375</docker.registry.host>
  48. <docker.namespace>ruoyi</docker.namespace>
  49. <docker.plugin.version>1.2.2</docker.plugin.version>
  50. </properties>
  51. <!-- 依赖声明 -->
  52. <dependencyManagement>
  53. <dependencies>
  54. <!-- SpringBoot的依赖配置-->
  55. <dependency>
  56. <groupId>org.springframework.boot</groupId>
  57. <artifactId>spring-boot-dependencies</artifactId>
  58. <version>${spring-boot.version}</version>
  59. <type>pom</type>
  60. <scope>import</scope>
  61. </dependency>
  62. <!-- 阿里数据库连接池 -->
  63. <dependency>
  64. <groupId>com.alibaba</groupId>
  65. <artifactId>druid-spring-boot-starter</artifactId>
  66. <version>${druid.version}</version>
  67. </dependency>
  68. <dependency>
  69. <groupId>com.github.xiaoymin</groupId>
  70. <artifactId>knife4j-spring-boot-starter</artifactId>
  71. <version>${knife4j.version}</version>
  72. <exclusions>
  73. <exclusion>
  74. <artifactId>swagger-annotations</artifactId>
  75. <groupId>io.swagger</groupId>
  76. </exclusion>
  77. </exclusions>
  78. </dependency>
  79. <dependency>
  80. <groupId>io.swagger</groupId>
  81. <artifactId>swagger-annotations</artifactId>
  82. <version>${swagger-annotations.version}</version>
  83. </dependency>
  84. <!-- excel工具 -->
  85. <dependency>
  86. <groupId>org.apache.poi</groupId>
  87. <artifactId>poi-ooxml</artifactId>
  88. <version>${poi.version}</version>
  89. </dependency>
  90. <dependency>
  91. <groupId>com.alibaba</groupId>
  92. <artifactId>easyexcel</artifactId>
  93. <version>${easyexcel.version}</version>
  94. <exclusions>
  95. <exclusion>
  96. <groupId>org.apache.poi</groupId>
  97. <artifactId>poi</artifactId>
  98. </exclusion>
  99. <exclusion>
  100. <groupId>org.apache.poi</groupId>
  101. <artifactId>poi-ooxml-schemas</artifactId>
  102. </exclusion>
  103. </exclusions>
  104. </dependency>
  105. <!-- velocity代码生成使用模板 -->
  106. <dependency>
  107. <groupId>org.apache.velocity</groupId>
  108. <artifactId>velocity</artifactId>
  109. <version>${velocity.version}</version>
  110. </dependency>
  111. <!-- Token生成与解析-->
  112. <dependency>
  113. <groupId>io.jsonwebtoken</groupId>
  114. <artifactId>jjwt</artifactId>
  115. <version>${jwt.version}</version>
  116. </dependency>
  117. <!-- jdk11 缺失依赖 jaxb-->
  118. <dependency>
  119. <groupId>com.sun.xml.bind</groupId>
  120. <artifactId>jaxb-impl</artifactId>
  121. <version>${jaxb.version}</version>
  122. </dependency>
  123. <!-- dynamic-datasource 多数据源-->
  124. <dependency>
  125. <groupId>com.baomidou</groupId>
  126. <artifactId>dynamic-datasource-spring-boot-starter</artifactId>
  127. <version>${dynamic-ds.version}</version>
  128. </dependency>
  129. <dependency>
  130. <groupId>com.baomidou</groupId>
  131. <artifactId>mybatis-plus-boot-starter</artifactId>
  132. <version>${mybatis-plus.version}</version>
  133. </dependency>
  134. <dependency>
  135. <groupId>com.baomidou</groupId>
  136. <artifactId>mybatis-plus-extension</artifactId>
  137. <version>${mybatis-plus.version}</version>
  138. </dependency>
  139. <!-- sql性能分析插件 -->
  140. <dependency>
  141. <groupId>p6spy</groupId>
  142. <artifactId>p6spy</artifactId>
  143. <version>${p6spy.version}</version>
  144. </dependency>
  145. <dependency>
  146. <groupId>cn.hutool</groupId>
  147. <artifactId>hutool-all</artifactId>
  148. <version>${hutool.version}</version>
  149. </dependency>
  150. <!-- @deprecated 由于使用人数较少 决定与 3.4.0 版本移除 -->
  151. <dependency>
  152. <groupId>org.springframework.cloud</groupId>
  153. <artifactId>spring-cloud-starter-openfeign</artifactId>
  154. <version>${feign.version}</version>
  155. <exclusions>
  156. <exclusion>
  157. <artifactId>feign-core</artifactId>
  158. <groupId>io.github.openfeign</groupId>
  159. </exclusion>
  160. </exclusions>
  161. </dependency>
  162. <!-- @deprecated 由于使用人数较少 决定与 3.4.0 版本移除 -->
  163. <dependency>
  164. <groupId>io.github.openfeign</groupId>
  165. <artifactId>feign-okhttp</artifactId>
  166. <version>${feign-okhttp.version}</version>
  167. </dependency>
  168. <dependency>
  169. <groupId>com.squareup.okhttp3</groupId>
  170. <artifactId>okhttp</artifactId>
  171. <version>${okhttp.version}</version>
  172. </dependency>
  173. <dependency>
  174. <groupId>de.codecentric</groupId>
  175. <artifactId>spring-boot-admin-starter-server</artifactId>
  176. <version>${spring-boot-admin.version}</version>
  177. </dependency>
  178. <dependency>
  179. <groupId>de.codecentric</groupId>
  180. <artifactId>spring-boot-admin-starter-client</artifactId>
  181. <version>${spring-boot-admin.version}</version>
  182. </dependency>
  183. <!--redisson-->
  184. <dependency>
  185. <groupId>org.redisson</groupId>
  186. <artifactId>redisson-spring-boot-starter</artifactId>
  187. <version>${redisson.version}</version>
  188. </dependency>
  189. <dependency>
  190. <groupId>com.baomidou</groupId>
  191. <artifactId>lock4j-redisson-spring-boot-starter</artifactId>
  192. <version>${lock4j.version}</version>
  193. </dependency>
  194. <!-- xxl-job-core -->
  195. <dependency>
  196. <groupId>com.xuxueli</groupId>
  197. <artifactId>xxl-job-core</artifactId>
  198. <version>${xxl-job.version}</version>
  199. </dependency>
  200. <dependency>
  201. <groupId>com.yomahub</groupId>
  202. <artifactId>tlog-spring-boot-configuration</artifactId>
  203. <version>${tlog.version}</version>
  204. </dependency>
  205. <dependency>
  206. <groupId>com.yomahub</groupId>
  207. <artifactId>tlog-webroot</artifactId>
  208. <version>${tlog.version}</version>
  209. <exclusions>
  210. <exclusion>
  211. <artifactId>javassist</artifactId>
  212. <groupId>org.javassist</groupId>
  213. </exclusion>
  214. <exclusion>
  215. <artifactId>guava</artifactId>
  216. <groupId>com.google.guava</groupId>
  217. </exclusion>
  218. </exclusions>
  219. </dependency>
  220. <dependency>
  221. <groupId>com.yomahub</groupId>
  222. <artifactId>tlog-feign</artifactId>
  223. <version>${tlog.version}</version>
  224. </dependency>
  225. <dependency>
  226. <groupId>com.yomahub</groupId>
  227. <artifactId>tlog-xxl-job</artifactId>
  228. <version>${tlog.version}</version>
  229. </dependency>
  230. <!-- 定时任务 -->
  231. <dependency>
  232. <groupId>com.ruoyi</groupId>
  233. <artifactId>ruoyi-job</artifactId>
  234. <version>${ruoyi-vue-plus.version}</version>
  235. </dependency>
  236. <!-- 代码生成-->
  237. <dependency>
  238. <groupId>com.ruoyi</groupId>
  239. <artifactId>ruoyi-generator</artifactId>
  240. <version>${ruoyi-vue-plus.version}</version>
  241. </dependency>
  242. <!-- 核心模块-->
  243. <dependency>
  244. <groupId>com.ruoyi</groupId>
  245. <artifactId>ruoyi-framework</artifactId>
  246. <version>${ruoyi-vue-plus.version}</version>
  247. </dependency>
  248. <!-- 系统模块-->
  249. <dependency>
  250. <groupId>com.ruoyi</groupId>
  251. <artifactId>ruoyi-system</artifactId>
  252. <version>${ruoyi-vue-plus.version}</version>
  253. </dependency>
  254. <!-- 通用工具-->
  255. <dependency>
  256. <groupId>com.ruoyi</groupId>
  257. <artifactId>ruoyi-common</artifactId>
  258. <version>${ruoyi-vue-plus.version}</version>
  259. </dependency>
  260. <!-- OSS对象存储模块 -->
  261. <dependency>
  262. <groupId>com.ruoyi</groupId>
  263. <artifactId>ruoyi-oss</artifactId>
  264. <version>${ruoyi-vue-plus.version}</version>
  265. </dependency>
  266. <!-- demo模块 -->
  267. <dependency>
  268. <groupId>com.ruoyi</groupId>
  269. <artifactId>ruoyi-demo</artifactId>
  270. <version>${ruoyi-vue-plus.version}</version>
  271. </dependency>
  272. </dependencies>
  273. </dependencyManagement>
  274. <modules>
  275. <module>ruoyi-admin</module>
  276. <module>ruoyi-framework</module>
  277. <module>ruoyi-system</module>
  278. <module>ruoyi-job</module>
  279. <module>ruoyi-generator</module>
  280. <module>ruoyi-common</module>
  281. <module>ruoyi-demo</module>
  282. <module>ruoyi-extend</module>
  283. <module>ruoyi-oss</module>
  284. </modules>
  285. <packaging>pom</packaging>
  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>