pom.xml 9.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276
  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>${ruoyi-vue-plus.version}</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>2.3.2</ruoyi-vue-plus.version>
  14. <spring-boot.version>2.3.11.RELEASE</spring-boot.version>
  15. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  16. <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
  17. <java.version>11</java.version>
  18. <maven-jar-plugin.version>3.1.1</maven-jar-plugin.version>
  19. <druid.version>1.2.6</druid.version>
  20. <knife4j.version>3.0.2</knife4j.version>
  21. <poi.version>4.1.2</poi.version>
  22. <velocity.version>1.7</velocity.version>
  23. <jwt.version>0.9.1</jwt.version>
  24. <mybatis-plus.version>3.4.3</mybatis-plus.version>
  25. <hutool.version>5.7.1</hutool.version>
  26. <feign.version>2.2.6.RELEASE</feign.version>
  27. <feign-okhttp.version>11.0</feign-okhttp.version>
  28. <spring-boot-admin.version>2.3.1</spring-boot-admin.version>
  29. <redisson.version>3.15.2</redisson.version>
  30. <jaxb.version>3.0.1</jaxb.version>
  31. </properties>
  32. <!-- 依赖声明 -->
  33. <dependencyManagement>
  34. <dependencies>
  35. <!-- SpringBoot的依赖配置-->
  36. <dependency>
  37. <groupId>org.springframework.boot</groupId>
  38. <artifactId>spring-boot-dependencies</artifactId>
  39. <version>${spring-boot.version}</version>
  40. <type>pom</type>
  41. <scope>import</scope>
  42. </dependency>
  43. <!-- 阿里数据库连接池 -->
  44. <dependency>
  45. <groupId>com.alibaba</groupId>
  46. <artifactId>druid-spring-boot-starter</artifactId>
  47. <version>${druid.version}</version>
  48. </dependency>
  49. <dependency>
  50. <groupId>com.github.xiaoymin</groupId>
  51. <artifactId>knife4j-spring-boot-starter</artifactId>
  52. <version>${knife4j.version}</version>
  53. </dependency>
  54. <!-- excel工具 -->
  55. <dependency>
  56. <groupId>org.apache.poi</groupId>
  57. <artifactId>poi-ooxml</artifactId>
  58. <version>${poi.version}</version>
  59. </dependency>
  60. <!-- velocity代码生成使用模板 -->
  61. <dependency>
  62. <groupId>org.apache.velocity</groupId>
  63. <artifactId>velocity</artifactId>
  64. <version>${velocity.version}</version>
  65. </dependency>
  66. <!-- Token生成与解析-->
  67. <dependency>
  68. <groupId>io.jsonwebtoken</groupId>
  69. <artifactId>jjwt</artifactId>
  70. <version>${jwt.version}</version>
  71. </dependency>
  72. <dependency>
  73. <groupId>com.baomidou</groupId>
  74. <artifactId>mybatis-plus-boot-starter</artifactId>
  75. <version>${mybatis-plus.version}</version>
  76. </dependency>
  77. <dependency>
  78. <groupId>com.baomidou</groupId>
  79. <artifactId>mybatis-plus-extension</artifactId>
  80. <version>${mybatis-plus.version}</version>
  81. </dependency>
  82. <dependency>
  83. <groupId>cn.hutool</groupId>
  84. <artifactId>hutool-all</artifactId>
  85. <version>${hutool.version}</version>
  86. </dependency>
  87. <dependency>
  88. <groupId>org.springframework.cloud</groupId>
  89. <artifactId>spring-cloud-starter-openfeign</artifactId>
  90. <version>${feign.version}</version>
  91. </dependency>
  92. <dependency>
  93. <groupId>io.github.openfeign</groupId>
  94. <artifactId>feign-okhttp</artifactId>
  95. <version>${feign-okhttp.version}</version>
  96. </dependency>
  97. <dependency>
  98. <groupId>de.codecentric</groupId>
  99. <artifactId>spring-boot-admin-starter-server</artifactId>
  100. <version>${spring-boot-admin.version}</version>
  101. </dependency>
  102. <dependency>
  103. <groupId>de.codecentric</groupId>
  104. <artifactId>spring-boot-admin-starter-client</artifactId>
  105. <version>${spring-boot-admin.version}</version>
  106. </dependency>
  107. <!--redisson-->
  108. <dependency>
  109. <groupId>org.redisson</groupId>
  110. <artifactId>redisson-spring-boot-starter</artifactId>
  111. <version>${redisson.version}</version>
  112. </dependency>
  113. <!--jaxb-->
  114. <dependency>
  115. <groupId>com.sun.xml.bind</groupId>
  116. <artifactId>jaxb-impl</artifactId>
  117. <version>${jaxb.version}</version>
  118. </dependency>
  119. <!-- 定时任务-->
  120. <dependency>
  121. <groupId>com.ruoyi</groupId>
  122. <artifactId>ruoyi-quartz</artifactId>
  123. <version>${ruoyi-vue-plus.version}</version>
  124. </dependency>
  125. <!-- 代码生成-->
  126. <dependency>
  127. <groupId>com.ruoyi</groupId>
  128. <artifactId>ruoyi-generator</artifactId>
  129. <version>${ruoyi-vue-plus.version}</version>
  130. </dependency>
  131. <!-- 核心模块-->
  132. <dependency>
  133. <groupId>com.ruoyi</groupId>
  134. <artifactId>ruoyi-framework</artifactId>
  135. <version>${ruoyi-vue-plus.version}</version>
  136. </dependency>
  137. <!-- 系统模块-->
  138. <dependency>
  139. <groupId>com.ruoyi</groupId>
  140. <artifactId>ruoyi-system</artifactId>
  141. <version>${ruoyi-vue-plus.version}</version>
  142. </dependency>
  143. <!-- 通用工具-->
  144. <dependency>
  145. <groupId>com.ruoyi</groupId>
  146. <artifactId>ruoyi-common</artifactId>
  147. <version>${ruoyi-vue-plus.version}</version>
  148. </dependency>
  149. <!-- demo模块 -->
  150. <dependency>
  151. <groupId>com.ruoyi</groupId>
  152. <artifactId>ruoyi-demo</artifactId>
  153. <version>${ruoyi-vue-plus.version}</version>
  154. </dependency>
  155. </dependencies>
  156. </dependencyManagement>
  157. <modules>
  158. <module>ruoyi-admin</module>
  159. <module>ruoyi-framework</module>
  160. <module>ruoyi-system</module>
  161. <module>ruoyi-quartz</module>
  162. <module>ruoyi-generator</module>
  163. <module>ruoyi-common</module>
  164. <module>ruoyi-demo</module>
  165. </modules>
  166. <packaging>pom</packaging>
  167. <dependencies>
  168. </dependencies>
  169. <build>
  170. <plugins>
  171. <plugin>
  172. <groupId>org.apache.maven.plugins</groupId>
  173. <artifactId>maven-compiler-plugin</artifactId>
  174. <version>3.1</version>
  175. <configuration>
  176. <source>${java.version}</source>
  177. <target>${java.version}</target>
  178. <encoding>${project.build.sourceEncoding}</encoding>
  179. </configuration>
  180. </plugin>
  181. </plugins>
  182. <resources>
  183. <resource>
  184. <!--打包该目录下的 application.yml -->
  185. <directory>src/main/resources</directory>
  186. <!-- 启用过滤 即该资源中的变量将会被过滤器中的值替换 -->
  187. <filtering>true</filtering>
  188. </resource>
  189. </resources>
  190. </build>
  191. <repositories>
  192. <repository>
  193. <id>public</id>
  194. <name>aliyun nexus</name>
  195. <url>http://maven.aliyun.com/nexus/content/groups/public/</url>
  196. <releases>
  197. <enabled>true</enabled>
  198. </releases>
  199. </repository>
  200. </repositories>
  201. <pluginRepositories>
  202. <pluginRepository>
  203. <id>public</id>
  204. <name>aliyun nexus</name>
  205. <url>http://maven.aliyun.com/nexus/content/groups/public/</url>
  206. <releases>
  207. <enabled>true</enabled>
  208. </releases>
  209. <snapshots>
  210. <enabled>false</enabled>
  211. </snapshots>
  212. </pluginRepository>
  213. </pluginRepositories>
  214. <profiles>
  215. <profile>
  216. <id>local</id>
  217. <properties>
  218. <!-- 环境标识,需要与配置文件的名称相对应 -->
  219. <profiles.active>local</profiles.active>
  220. <logging.level>debug</logging.level>
  221. </properties>
  222. </profile>
  223. <profile>
  224. <id>dev</id>
  225. <properties>
  226. <!-- 环境标识,需要与配置文件的名称相对应 -->
  227. <profiles.active>dev</profiles.active>
  228. <logging.level>debug</logging.level>
  229. </properties>
  230. <activation>
  231. <!-- 默认环境 -->
  232. <activeByDefault>true</activeByDefault>
  233. </activation>
  234. </profile>
  235. <profile>
  236. <id>prod</id>
  237. <properties>
  238. <profiles.active>prod</profiles.active>
  239. <logging.level>warn</logging.level>
  240. </properties>
  241. </profile>
  242. </profiles>
  243. </project>