pom.xml 14 KB

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