pom.xml 14 KB

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