pom.xml 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416
  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>4.1.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>4.1.0</ruoyi-vue-plus.version>
  14. <spring-boot.version>2.6.8</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.2</maven-jar-plugin.version>
  19. <spring-boot.mybatis>2.2.2</spring-boot.mybatis>
  20. <druid.version>1.2.9</druid.version>
  21. <knife4j.version>3.0.3</knife4j.version>
  22. <swagger-annotations.version>1.5.22</swagger-annotations.version>
  23. <commons-compress.version>1.21</commons-compress.version>
  24. <easyexcel.version>3.1.0</easyexcel.version>
  25. <velocity.version>2.3</velocity.version>
  26. <satoken.version>1.30.0</satoken.version>
  27. <mybatis-plus.version>3.5.1</mybatis-plus.version>
  28. <p6spy.version>3.9.1</p6spy.version>
  29. <hutool.version>5.8.1</hutool.version>
  30. <okhttp.version>4.9.3</okhttp.version>
  31. <spring-boot-admin.version>2.6.7</spring-boot-admin.version>
  32. <redisson.version>3.17.2</redisson.version>
  33. <lock4j.version>2.2.1</lock4j.version>
  34. <dynamic-ds.version>3.5.1</dynamic-ds.version>
  35. <tlog.version>1.4.0</tlog.version>
  36. <xxl-job.version>2.3.1</xxl-job.version>
  37. <!-- 统一 guava 版本 解决隐式漏洞问题 -->
  38. <guava.version>30.0-jre</guava.version>
  39. <!-- OSS 配置 -->
  40. <aws-java-sdk-s3.version>1.12.215</aws-java-sdk-s3.version>
  41. <!-- SMS 配置 -->
  42. <aliyun.sms.version>2.0.9</aliyun.sms.version>
  43. <tencent.sms.version>3.1.500</tencent.sms.version>
  44. <!-- docker 配置 -->
  45. <docker.registry.url>localhost</docker.registry.url>
  46. <docker.registry.host>http://${docker.registry.url}:2375</docker.registry.host>
  47. <docker.namespace>ruoyi</docker.namespace>
  48. <docker.plugin.version>1.2.2</docker.plugin.version>
  49. </properties>
  50. <!-- 依赖声明 -->
  51. <dependencyManagement>
  52. <dependencies>
  53. <!-- SpringBoot的依赖配置-->
  54. <dependency>
  55. <groupId>org.springframework.boot</groupId>
  56. <artifactId>spring-boot-dependencies</artifactId>
  57. <version>${spring-boot.version}</version>
  58. <type>pom</type>
  59. <scope>import</scope>
  60. </dependency>
  61. <!-- hutool 的依赖配置-->
  62. <dependency>
  63. <groupId>cn.hutool</groupId>
  64. <artifactId>hutool-bom</artifactId>
  65. <version>${hutool.version}</version>
  66. <type>pom</type>
  67. <scope>import</scope>
  68. </dependency>
  69. <!-- 阿里数据库连接池 -->
  70. <dependency>
  71. <groupId>com.alibaba</groupId>
  72. <artifactId>druid-spring-boot-starter</artifactId>
  73. <version>${druid.version}</version>
  74. </dependency>
  75. <dependency>
  76. <groupId>com.github.xiaoymin</groupId>
  77. <artifactId>knife4j-spring-boot-starter</artifactId>
  78. <version>${knife4j.version}</version>
  79. <exclusions>
  80. <exclusion>
  81. <artifactId>swagger-annotations</artifactId>
  82. <groupId>io.swagger</groupId>
  83. </exclusion>
  84. </exclusions>
  85. </dependency>
  86. <dependency>
  87. <groupId>io.swagger</groupId>
  88. <artifactId>swagger-annotations</artifactId>
  89. <version>${swagger-annotations.version}</version>
  90. </dependency>
  91. <!-- 修复poi漏洞 -->
  92. <dependency>
  93. <groupId>org.apache.commons</groupId>
  94. <artifactId>commons-compress</artifactId>
  95. <version>${commons-compress.version}</version>
  96. </dependency>
  97. <dependency>
  98. <groupId>com.alibaba</groupId>
  99. <artifactId>easyexcel</artifactId>
  100. <version>${easyexcel.version}</version>
  101. </dependency>
  102. <!-- velocity代码生成使用模板 -->
  103. <dependency>
  104. <groupId>org.apache.velocity</groupId>
  105. <artifactId>velocity-engine-core</artifactId>
  106. <version>${velocity.version}</version>
  107. </dependency>
  108. <!-- Sa-Token 权限认证, 在线文档:http://sa-token.dev33.cn/ -->
  109. <dependency>
  110. <groupId>cn.dev33</groupId>
  111. <artifactId>sa-token-spring-boot-starter</artifactId>
  112. <version>${satoken.version}</version>
  113. </dependency>
  114. <!-- Sa-Token 整合 jwt -->
  115. <dependency>
  116. <groupId>cn.dev33</groupId>
  117. <artifactId>sa-token-jwt</artifactId>
  118. <version>${satoken.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>com.squareup.okhttp3</groupId>
  144. <artifactId>okhttp</artifactId>
  145. <version>${okhttp.version}</version>
  146. </dependency>
  147. <dependency>
  148. <groupId>com.amazonaws</groupId>
  149. <artifactId>aws-java-sdk-s3</artifactId>
  150. <version>${aws-java-sdk-s3.version}</version>
  151. </dependency>
  152. <dependency>
  153. <groupId>com.aliyun</groupId>
  154. <artifactId>dysmsapi20170525</artifactId>
  155. <version>${aliyun.sms.version}</version>
  156. </dependency>
  157. <dependency>
  158. <groupId>com.tencentcloudapi</groupId>
  159. <artifactId>tencentcloud-sdk-java</artifactId>
  160. <version>${tencent.sms.version}</version>
  161. </dependency>
  162. <dependency>
  163. <groupId>de.codecentric</groupId>
  164. <artifactId>spring-boot-admin-starter-server</artifactId>
  165. <version>${spring-boot-admin.version}</version>
  166. </dependency>
  167. <dependency>
  168. <groupId>de.codecentric</groupId>
  169. <artifactId>spring-boot-admin-starter-client</artifactId>
  170. <version>${spring-boot-admin.version}</version>
  171. </dependency>
  172. <!--redisson-->
  173. <dependency>
  174. <groupId>org.redisson</groupId>
  175. <artifactId>redisson-spring-boot-starter</artifactId>
  176. <version>${redisson.version}</version>
  177. </dependency>
  178. <dependency>
  179. <groupId>com.baomidou</groupId>
  180. <artifactId>lock4j-redisson-spring-boot-starter</artifactId>
  181. <version>${lock4j.version}</version>
  182. </dependency>
  183. <!-- xxl-job-core -->
  184. <dependency>
  185. <groupId>com.xuxueli</groupId>
  186. <artifactId>xxl-job-core</artifactId>
  187. <version>${xxl-job.version}</version>
  188. </dependency>
  189. <dependency>
  190. <groupId>com.yomahub</groupId>
  191. <artifactId>tlog-web-spring-boot-starter</artifactId>
  192. <version>${tlog.version}</version>
  193. <exclusions>
  194. <exclusion>
  195. <artifactId>log4j</artifactId>
  196. <groupId>log4j</groupId>
  197. </exclusion>
  198. <exclusion>
  199. <artifactId>dom4j</artifactId>
  200. <groupId>dom4j</groupId>
  201. </exclusion>
  202. <exclusion>
  203. <artifactId>commons-beanutils</artifactId>
  204. <groupId>commons-beanutils</groupId>
  205. </exclusion>
  206. </exclusions>
  207. </dependency>
  208. <dependency>
  209. <groupId>com.yomahub</groupId>
  210. <artifactId>tlog-xxljob-spring-boot-starter</artifactId>
  211. <version>${tlog.version}</version>
  212. </dependency>
  213. <!-- 统一 guava 版本 解决隐式漏洞问题 -->
  214. <dependency>
  215. <groupId>com.google.guava</groupId>
  216. <artifactId>guava</artifactId>
  217. <version>${guava.version}</version>
  218. </dependency>
  219. <!-- 定时任务 -->
  220. <dependency>
  221. <groupId>com.ruoyi</groupId>
  222. <artifactId>ruoyi-job</artifactId>
  223. <version>${ruoyi-vue-plus.version}</version>
  224. </dependency>
  225. <!-- 代码生成-->
  226. <dependency>
  227. <groupId>com.ruoyi</groupId>
  228. <artifactId>ruoyi-generator</artifactId>
  229. <version>${ruoyi-vue-plus.version}</version>
  230. </dependency>
  231. <!-- 核心模块-->
  232. <dependency>
  233. <groupId>com.ruoyi</groupId>
  234. <artifactId>ruoyi-framework</artifactId>
  235. <version>${ruoyi-vue-plus.version}</version>
  236. </dependency>
  237. <!-- 系统模块-->
  238. <dependency>
  239. <groupId>com.ruoyi</groupId>
  240. <artifactId>ruoyi-system</artifactId>
  241. <version>${ruoyi-vue-plus.version}</version>
  242. </dependency>
  243. <!-- 通用工具-->
  244. <dependency>
  245. <groupId>com.ruoyi</groupId>
  246. <artifactId>ruoyi-common</artifactId>
  247. <version>${ruoyi-vue-plus.version}</version>
  248. </dependency>
  249. <!-- OSS对象存储模块 -->
  250. <dependency>
  251. <groupId>com.ruoyi</groupId>
  252. <artifactId>ruoyi-oss</artifactId>
  253. <version>${ruoyi-vue-plus.version}</version>
  254. </dependency>
  255. <!-- SMS短信模块 -->
  256. <dependency>
  257. <groupId>com.ruoyi</groupId>
  258. <artifactId>ruoyi-sms</artifactId>
  259. <version>${ruoyi-vue-plus.version}</version>
  260. </dependency>
  261. <!-- demo模块 -->
  262. <dependency>
  263. <groupId>com.ruoyi</groupId>
  264. <artifactId>ruoyi-demo</artifactId>
  265. <version>${ruoyi-vue-plus.version}</version>
  266. </dependency>
  267. </dependencies>
  268. </dependencyManagement>
  269. <modules>
  270. <module>ruoyi-admin</module>
  271. <module>ruoyi-framework</module>
  272. <module>ruoyi-system</module>
  273. <module>ruoyi-job</module>
  274. <module>ruoyi-generator</module>
  275. <module>ruoyi-common</module>
  276. <module>ruoyi-demo</module>
  277. <module>ruoyi-extend</module>
  278. <module>ruoyi-oss</module>
  279. <module>ruoyi-sms</module>
  280. </modules>
  281. <packaging>pom</packaging>
  282. <build>
  283. <plugins>
  284. <plugin>
  285. <groupId>org.apache.maven.plugins</groupId>
  286. <artifactId>maven-compiler-plugin</artifactId>
  287. <version>3.9.0</version>
  288. <configuration>
  289. <source>${java.version}</source>
  290. <target>${java.version}</target>
  291. <encoding>${project.build.sourceEncoding}</encoding>
  292. </configuration>
  293. </plugin>
  294. </plugins>
  295. <resources>
  296. <resource>
  297. <directory>src/main/resources</directory>
  298. <!-- 关闭过滤 -->
  299. <filtering>false</filtering>
  300. </resource>
  301. <resource>
  302. <directory>src/main/resources</directory>
  303. <!-- 引入所有 匹配文件进行过滤 -->
  304. <includes>
  305. <include>application*</include>
  306. <include>bootstrap*</include>
  307. <include>banner*</include>
  308. </includes>
  309. <!-- 启用过滤 即该资源中的变量将会被过滤器中的值替换 -->
  310. <filtering>true</filtering>
  311. </resource>
  312. </resources>
  313. </build>
  314. <repositories>
  315. <repository>
  316. <id>public</id>
  317. <name>aliyun nexus</name>
  318. <url>https://maven.aliyun.com/repository/public/</url>
  319. <releases>
  320. <enabled>true</enabled>
  321. </releases>
  322. </repository>
  323. </repositories>
  324. <pluginRepositories>
  325. <pluginRepository>
  326. <id>public</id>
  327. <name>aliyun nexus</name>
  328. <url>https://maven.aliyun.com/repository/public/</url>
  329. <releases>
  330. <enabled>true</enabled>
  331. </releases>
  332. <snapshots>
  333. <enabled>false</enabled>
  334. </snapshots>
  335. </pluginRepository>
  336. </pluginRepositories>
  337. <profiles>
  338. <profile>
  339. <id>local</id>
  340. <properties>
  341. <!-- 环境标识,需要与配置文件的名称相对应 -->
  342. <profiles.active>local</profiles.active>
  343. <logging.level>debug</logging.level>
  344. <knife4j.production>false</knife4j.production>
  345. <endpoints.include>'*'</endpoints.include>
  346. </properties>
  347. </profile>
  348. <profile>
  349. <id>dev</id>
  350. <properties>
  351. <!-- 环境标识,需要与配置文件的名称相对应 -->
  352. <profiles.active>dev</profiles.active>
  353. <logging.level>debug</logging.level>
  354. <knife4j.production>false</knife4j.production>
  355. <endpoints.include>'*'</endpoints.include>
  356. </properties>
  357. <activation>
  358. <!-- 默认环境 -->
  359. <activeByDefault>true</activeByDefault>
  360. </activation>
  361. </profile>
  362. <profile>
  363. <id>prod</id>
  364. <properties>
  365. <profiles.active>prod</profiles.active>
  366. <logging.level>warn</logging.level>
  367. <knife4j.production>true</knife4j.production>
  368. <endpoints.include>health, info, logfile</endpoints.include>
  369. </properties>
  370. </profile>
  371. </profiles>
  372. </project>