pom.xml 9.6 KB

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