pom.xml 13 KB

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