pom.xml 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382
  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.16</hutool.version>
  29. <okhttp.version>4.9.2</okhttp.version>
  30. <spring-boot-admin.version>2.5.3</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</artifactId>
  107. <version>${velocity.version}</version>
  108. </dependency>
  109. <!-- Token生成与解析-->
  110. <dependency>
  111. <groupId>io.jsonwebtoken</groupId>
  112. <artifactId>jjwt</artifactId>
  113. <version>${jwt.version}</version>
  114. </dependency>
  115. <!-- jdk11 缺失依赖 jaxb-->
  116. <dependency>
  117. <groupId>com.sun.xml.bind</groupId>
  118. <artifactId>jaxb-impl</artifactId>
  119. <version>${jaxb.version}</version>
  120. </dependency>
  121. <!-- dynamic-datasource 多数据源-->
  122. <dependency>
  123. <groupId>com.baomidou</groupId>
  124. <artifactId>dynamic-datasource-spring-boot-starter</artifactId>
  125. <version>${dynamic-ds.version}</version>
  126. </dependency>
  127. <dependency>
  128. <groupId>com.baomidou</groupId>
  129. <artifactId>mybatis-plus-boot-starter</artifactId>
  130. <version>${mybatis-plus.version}</version>
  131. </dependency>
  132. <dependency>
  133. <groupId>com.baomidou</groupId>
  134. <artifactId>mybatis-plus-extension</artifactId>
  135. <version>${mybatis-plus.version}</version>
  136. </dependency>
  137. <!-- sql性能分析插件 -->
  138. <dependency>
  139. <groupId>p6spy</groupId>
  140. <artifactId>p6spy</artifactId>
  141. <version>${p6spy.version}</version>
  142. </dependency>
  143. <dependency>
  144. <groupId>cn.hutool</groupId>
  145. <artifactId>hutool-all</artifactId>
  146. <version>${hutool.version}</version>
  147. </dependency>
  148. <dependency>
  149. <groupId>com.squareup.okhttp3</groupId>
  150. <artifactId>okhttp</artifactId>
  151. <version>${okhttp.version}</version>
  152. </dependency>
  153. <dependency>
  154. <groupId>de.codecentric</groupId>
  155. <artifactId>spring-boot-admin-starter-server</artifactId>
  156. <version>${spring-boot-admin.version}</version>
  157. </dependency>
  158. <dependency>
  159. <groupId>de.codecentric</groupId>
  160. <artifactId>spring-boot-admin-starter-client</artifactId>
  161. <version>${spring-boot-admin.version}</version>
  162. </dependency>
  163. <!--redisson-->
  164. <dependency>
  165. <groupId>org.redisson</groupId>
  166. <artifactId>redisson-spring-boot-starter</artifactId>
  167. <version>${redisson.version}</version>
  168. </dependency>
  169. <dependency>
  170. <groupId>com.baomidou</groupId>
  171. <artifactId>lock4j-redisson-spring-boot-starter</artifactId>
  172. <version>${lock4j.version}</version>
  173. </dependency>
  174. <!-- xxl-job-core -->
  175. <dependency>
  176. <groupId>com.xuxueli</groupId>
  177. <artifactId>xxl-job-core</artifactId>
  178. <version>${xxl-job.version}</version>
  179. </dependency>
  180. <dependency>
  181. <groupId>com.yomahub</groupId>
  182. <artifactId>tlog-spring-boot-configuration</artifactId>
  183. <version>${tlog.version}</version>
  184. </dependency>
  185. <dependency>
  186. <groupId>com.yomahub</groupId>
  187. <artifactId>tlog-webroot</artifactId>
  188. <version>${tlog.version}</version>
  189. <exclusions>
  190. <exclusion>
  191. <artifactId>javassist</artifactId>
  192. <groupId>org.javassist</groupId>
  193. </exclusion>
  194. <exclusion>
  195. <artifactId>guava</artifactId>
  196. <groupId>com.google.guava</groupId>
  197. </exclusion>
  198. </exclusions>
  199. </dependency>
  200. <dependency>
  201. <groupId>com.yomahub</groupId>
  202. <artifactId>tlog-xxl-job</artifactId>
  203. <version>${tlog.version}</version>
  204. </dependency>
  205. <!-- 定时任务 -->
  206. <dependency>
  207. <groupId>com.ruoyi</groupId>
  208. <artifactId>ruoyi-job</artifactId>
  209. <version>${ruoyi-vue-plus.version}</version>
  210. </dependency>
  211. <!-- 代码生成-->
  212. <dependency>
  213. <groupId>com.ruoyi</groupId>
  214. <artifactId>ruoyi-generator</artifactId>
  215. <version>${ruoyi-vue-plus.version}</version>
  216. </dependency>
  217. <!-- 核心模块-->
  218. <dependency>
  219. <groupId>com.ruoyi</groupId>
  220. <artifactId>ruoyi-framework</artifactId>
  221. <version>${ruoyi-vue-plus.version}</version>
  222. </dependency>
  223. <!-- 系统模块-->
  224. <dependency>
  225. <groupId>com.ruoyi</groupId>
  226. <artifactId>ruoyi-system</artifactId>
  227. <version>${ruoyi-vue-plus.version}</version>
  228. </dependency>
  229. <!-- 通用工具-->
  230. <dependency>
  231. <groupId>com.ruoyi</groupId>
  232. <artifactId>ruoyi-common</artifactId>
  233. <version>${ruoyi-vue-plus.version}</version>
  234. </dependency>
  235. <!-- OSS对象存储模块 -->
  236. <dependency>
  237. <groupId>com.ruoyi</groupId>
  238. <artifactId>ruoyi-oss</artifactId>
  239. <version>${ruoyi-vue-plus.version}</version>
  240. </dependency>
  241. <!-- demo模块 -->
  242. <dependency>
  243. <groupId>com.ruoyi</groupId>
  244. <artifactId>ruoyi-demo</artifactId>
  245. <version>${ruoyi-vue-plus.version}</version>
  246. </dependency>
  247. </dependencies>
  248. </dependencyManagement>
  249. <modules>
  250. <module>ruoyi-admin</module>
  251. <module>ruoyi-framework</module>
  252. <module>ruoyi-system</module>
  253. <module>ruoyi-job</module>
  254. <module>ruoyi-generator</module>
  255. <module>ruoyi-common</module>
  256. <module>ruoyi-demo</module>
  257. <module>ruoyi-extend</module>
  258. <module>ruoyi-oss</module>
  259. </modules>
  260. <packaging>pom</packaging>
  261. <build>
  262. <plugins>
  263. <plugin>
  264. <groupId>org.apache.maven.plugins</groupId>
  265. <artifactId>maven-compiler-plugin</artifactId>
  266. <version>3.1</version>
  267. <configuration>
  268. <source>${java.version}</source>
  269. <target>${java.version}</target>
  270. <encoding>${project.build.sourceEncoding}</encoding>
  271. </configuration>
  272. </plugin>
  273. </plugins>
  274. <resources>
  275. <resource>
  276. <!--打包该目录下的 application.yml -->
  277. <directory>src/main/resources</directory>
  278. <!-- 启用过滤 即该资源中的变量将会被过滤器中的值替换 -->
  279. <filtering>true</filtering>
  280. </resource>
  281. </resources>
  282. </build>
  283. <repositories>
  284. <repository>
  285. <id>public</id>
  286. <name>aliyun nexus</name>
  287. <url>https://maven.aliyun.com/repository/public/</url>
  288. <releases>
  289. <enabled>true</enabled>
  290. </releases>
  291. </repository>
  292. </repositories>
  293. <pluginRepositories>
  294. <pluginRepository>
  295. <id>public</id>
  296. <name>aliyun nexus</name>
  297. <url>https://maven.aliyun.com/repository/public/</url>
  298. <releases>
  299. <enabled>true</enabled>
  300. </releases>
  301. <snapshots>
  302. <enabled>false</enabled>
  303. </snapshots>
  304. </pluginRepository>
  305. </pluginRepositories>
  306. <profiles>
  307. <profile>
  308. <id>local</id>
  309. <properties>
  310. <!-- 环境标识,需要与配置文件的名称相对应 -->
  311. <profiles.active>local</profiles.active>
  312. <logging.level>debug</logging.level>
  313. <knife4j.production>false</knife4j.production>
  314. <endpoints.include>'*'</endpoints.include>
  315. </properties>
  316. </profile>
  317. <profile>
  318. <id>dev</id>
  319. <properties>
  320. <!-- 环境标识,需要与配置文件的名称相对应 -->
  321. <profiles.active>dev</profiles.active>
  322. <logging.level>debug</logging.level>
  323. <knife4j.production>false</knife4j.production>
  324. <endpoints.include>'*'</endpoints.include>
  325. </properties>
  326. <activation>
  327. <!-- 默认环境 -->
  328. <activeByDefault>true</activeByDefault>
  329. </activation>
  330. </profile>
  331. <profile>
  332. <id>prod</id>
  333. <properties>
  334. <profiles.active>prod</profiles.active>
  335. <logging.level>warn</logging.level>
  336. <knife4j.production>true</knife4j.production>
  337. <endpoints.include>health, info, logfile</endpoints.include>
  338. </properties>
  339. </profile>
  340. </profiles>
  341. </project>