pom.xml 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335
  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.1.0</version>
  9. <name>RuoYi-Vue-Plus</name>
  10. <description>宿迁交通局应急指挥系统</description>
  11. <properties>
  12. <ruoyi-vue-plus.version>3.1.0</ruoyi-vue-plus.version>
  13. <spring-boot.version>2.5.4</spring-boot.version>
  14. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  15. <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
  16. <java.version>1.8</java.version>
  17. <maven-jar-plugin.version>3.2.0</maven-jar-plugin.version>
  18. <druid.version>1.2.6</druid.version>
  19. <knife4j.version>3.0.3</knife4j.version>
  20. <poi.version>4.1.2</poi.version>
  21. <easyexcel.version>2.2.10</easyexcel.version>
  22. <velocity.version>1.7</velocity.version>
  23. <jwt.version>0.9.1</jwt.version>
  24. <mybatis-plus.version>3.4.3.3</mybatis-plus.version>
  25. <p6spy.version>3.9.1</p6spy.version>
  26. <hutool.version>5.7.11</hutool.version>
  27. <feign.version>3.0.3</feign.version>
  28. <feign-okhttp.version>11.6</feign-okhttp.version>
  29. <okhttp.version>4.9.1</okhttp.version>
  30. <spring-boot-admin.version>2.5.1</spring-boot-admin.version>
  31. <redisson.version>3.16.2</redisson.version>
  32. <lock4j.version>2.2.1</lock4j.version>
  33. <dynamic-ds.version>3.4.1</dynamic-ds.version>
  34. <!-- OSS 配置 -->
  35. <qiniu.version>7.8.0</qiniu.version>
  36. <aliyun.oss.version>3.13.1</aliyun.oss.version>
  37. <qcloud.cos.version>5.6.51</qcloud.cos.version>
  38. <minio.version>8.3.0</minio.version>
  39. <!-- docker 配置 -->
  40. <docker.registry.url>localhost</docker.registry.url>
  41. <docker.registry.host>http://${docker.registry.url}:2375</docker.registry.host>
  42. <docker.namespace>ruoyi</docker.namespace>
  43. <docker.plugin.version>1.2.2</docker.plugin.version>
  44. </properties>
  45. <!-- 依赖声明 -->
  46. <dependencyManagement>
  47. <dependencies>
  48. <!-- SpringBoot的依赖配置-->
  49. <dependency>
  50. <groupId>org.springframework.boot</groupId>
  51. <artifactId>spring-boot-dependencies</artifactId>
  52. <version>${spring-boot.version}</version>
  53. <type>pom</type>
  54. <scope>import</scope>
  55. </dependency>
  56. <!-- 阿里数据库连接池 -->
  57. <dependency>
  58. <groupId>com.alibaba</groupId>
  59. <artifactId>druid-spring-boot-starter</artifactId>
  60. <version>${druid.version}</version>
  61. </dependency>
  62. <dependency>
  63. <groupId>com.github.xiaoymin</groupId>
  64. <artifactId>knife4j-spring-boot-starter</artifactId>
  65. <version>${knife4j.version}</version>
  66. </dependency>
  67. <!-- excel工具 -->
  68. <dependency>
  69. <groupId>org.apache.poi</groupId>
  70. <artifactId>poi-ooxml</artifactId>
  71. <version>${poi.version}</version>
  72. </dependency>
  73. <dependency>
  74. <groupId>com.alibaba</groupId>
  75. <artifactId>easyexcel</artifactId>
  76. <version>${easyexcel.version}</version>
  77. </dependency>
  78. <!-- velocity代码生成使用模板 -->
  79. <dependency>
  80. <groupId>org.apache.velocity</groupId>
  81. <artifactId>velocity</artifactId>
  82. <version>${velocity.version}</version>
  83. </dependency>
  84. <!-- Token生成与解析-->
  85. <dependency>
  86. <groupId>io.jsonwebtoken</groupId>
  87. <artifactId>jjwt</artifactId>
  88. <version>${jwt.version}</version>
  89. </dependency>
  90. <!-- dynamic-datasource 多数据源-->
  91. <dependency>
  92. <groupId>com.baomidou</groupId>
  93. <artifactId>dynamic-datasource-spring-boot-starter</artifactId>
  94. <version>${dynamic-ds.version}</version>
  95. </dependency>
  96. <dependency>
  97. <groupId>com.baomidou</groupId>
  98. <artifactId>mybatis-plus-boot-starter</artifactId>
  99. <version>${mybatis-plus.version}</version>
  100. </dependency>
  101. <dependency>
  102. <groupId>com.baomidou</groupId>
  103. <artifactId>mybatis-plus-extension</artifactId>
  104. <version>${mybatis-plus.version}</version>
  105. </dependency>
  106. <!-- sql性能分析插件 -->
  107. <dependency>
  108. <groupId>p6spy</groupId>
  109. <artifactId>p6spy</artifactId>
  110. <version>${p6spy.version}</version>
  111. </dependency>
  112. <dependency>
  113. <groupId>cn.hutool</groupId>
  114. <artifactId>hutool-all</artifactId>
  115. <version>${hutool.version}</version>
  116. </dependency>
  117. <dependency>
  118. <groupId>org.springframework.cloud</groupId>
  119. <artifactId>spring-cloud-starter-openfeign</artifactId>
  120. <version>${feign.version}</version>
  121. </dependency>
  122. <dependency>
  123. <groupId>io.github.openfeign</groupId>
  124. <artifactId>feign-okhttp</artifactId>
  125. <version>${feign-okhttp.version}</version>
  126. </dependency>
  127. <dependency>
  128. <groupId>com.squareup.okhttp3</groupId>
  129. <artifactId>okhttp</artifactId>
  130. <version>${okhttp.version}</version>
  131. </dependency>
  132. <dependency>
  133. <groupId>de.codecentric</groupId>
  134. <artifactId>spring-boot-admin-starter-server</artifactId>
  135. <version>${spring-boot-admin.version}</version>
  136. </dependency>
  137. <dependency>
  138. <groupId>de.codecentric</groupId>
  139. <artifactId>spring-boot-admin-starter-client</artifactId>
  140. <version>${spring-boot-admin.version}</version>
  141. </dependency>
  142. <!--redisson-->
  143. <dependency>
  144. <groupId>org.redisson</groupId>
  145. <artifactId>redisson-spring-boot-starter</artifactId>
  146. <version>${redisson.version}</version>
  147. </dependency>
  148. <dependency>
  149. <groupId>com.baomidou</groupId>
  150. <artifactId>lock4j-redisson-spring-boot-starter</artifactId>
  151. <version>${lock4j.version}</version>
  152. </dependency>
  153. <!-- 定时任务-->
  154. <dependency>
  155. <groupId>com.ruoyi</groupId>
  156. <artifactId>ruoyi-quartz</artifactId>
  157. <version>${ruoyi-vue-plus.version}</version>
  158. </dependency>
  159. <!-- 代码生成-->
  160. <dependency>
  161. <groupId>com.ruoyi</groupId>
  162. <artifactId>ruoyi-generator</artifactId>
  163. <version>${ruoyi-vue-plus.version}</version>
  164. </dependency>
  165. <!-- 核心模块-->
  166. <dependency>
  167. <groupId>com.ruoyi</groupId>
  168. <artifactId>ruoyi-framework</artifactId>
  169. <version>${ruoyi-vue-plus.version}</version>
  170. </dependency>
  171. <!-- 系统模块-->
  172. <dependency>
  173. <groupId>com.ruoyi</groupId>
  174. <artifactId>ruoyi-system</artifactId>
  175. <version>${ruoyi-vue-plus.version}</version>
  176. </dependency>
  177. <!-- 通用工具-->
  178. <dependency>
  179. <groupId>com.ruoyi</groupId>
  180. <artifactId>ruoyi-common</artifactId>
  181. <version>${ruoyi-vue-plus.version}</version>
  182. </dependency>
  183. <!-- demo模块 -->
  184. <dependency>
  185. <groupId>com.ruoyi</groupId>
  186. <artifactId>ruoyi-oss</artifactId>
  187. <version>${ruoyi-vue-plus.version}</version>
  188. </dependency>
  189. <!-- demo模块 -->
  190. <dependency>
  191. <groupId>com.ruoyi</groupId>
  192. <artifactId>ruoyi-demo</artifactId>
  193. <version>${ruoyi-vue-plus.version}</version>
  194. </dependency>
  195. </dependencies>
  196. </dependencyManagement>
  197. <modules>
  198. <module>ruoyi-admin</module>
  199. <module>ruoyi-framework</module>
  200. <module>ruoyi-system</module>
  201. <module>ruoyi-quartz</module>
  202. <module>ruoyi-generator</module>
  203. <module>ruoyi-common</module>
  204. <module>ruoyi-demo</module>
  205. <module>ruoyi-oss</module>
  206. </modules>
  207. <packaging>pom</packaging>
  208. <dependencies>
  209. </dependencies>
  210. <build>
  211. <plugins>
  212. <plugin>
  213. <groupId>org.apache.maven.plugins</groupId>
  214. <artifactId>maven-compiler-plugin</artifactId>
  215. <version>3.1</version>
  216. <configuration>
  217. <source>${java.version}</source>
  218. <target>${java.version}</target>
  219. <encoding>${project.build.sourceEncoding}</encoding>
  220. </configuration>
  221. </plugin>
  222. </plugins>
  223. <resources>
  224. <resource>
  225. <!--打包该目录下的 application.yml -->
  226. <directory>src/main/resources</directory>
  227. <!-- 启用过滤 即该资源中的变量将会被过滤器中的值替换 -->
  228. <filtering>true</filtering>
  229. </resource>
  230. </resources>
  231. </build>
  232. <repositories>
  233. <repository>
  234. <id>public</id>
  235. <name>aliyun nexus</name>
  236. <url>https://maven.aliyun.com/repository/public/</url>
  237. <releases>
  238. <enabled>true</enabled>
  239. </releases>
  240. </repository>
  241. </repositories>
  242. <pluginRepositories>
  243. <pluginRepository>
  244. <id>public</id>
  245. <name>aliyun nexus</name>
  246. <url>https://maven.aliyun.com/repository/public/</url>
  247. <releases>
  248. <enabled>true</enabled>
  249. </releases>
  250. <snapshots>
  251. <enabled>false</enabled>
  252. </snapshots>
  253. </pluginRepository>
  254. </pluginRepositories>
  255. <profiles>
  256. <profile>
  257. <id>local</id>
  258. <properties>
  259. <!-- 环境标识,需要与配置文件的名称相对应 -->
  260. <profiles.active>local</profiles.active>
  261. <logging.level>debug</logging.level>
  262. <endpoints.include>'*'</endpoints.include>
  263. </properties>
  264. </profile>
  265. <profile>
  266. <id>dev</id>
  267. <properties>
  268. <!-- 环境标识,需要与配置文件的名称相对应 -->
  269. <profiles.active>dev</profiles.active>
  270. <logging.level>debug</logging.level>
  271. <endpoints.include>'*'</endpoints.include>
  272. </properties>
  273. <activation>
  274. <!-- 默认环境 -->
  275. <activeByDefault>true</activeByDefault>
  276. </activation>
  277. </profile>
  278. <profile>
  279. <id>prod</id>
  280. <properties>
  281. <profiles.active>prod</profiles.active>
  282. <logging.level>warn</logging.level>
  283. <endpoints.include>health,info</endpoints.include>
  284. </properties>
  285. </profile>
  286. <profile>
  287. <id>jdk8</id>
  288. <activation>
  289. <activeByDefault>true</activeByDefault>
  290. <jdk>1.8</jdk>
  291. </activation>
  292. <properties>
  293. <java.version>1.8</java.version>
  294. </properties>
  295. </profile>
  296. </profiles>
  297. </project>