pom.xml 9.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277
  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. <dependency>
  125. <groupId>org.springframework.boot</groupId>
  126. <artifactId>spring-boot-starter-actuator</artifactId>
  127. </dependency>
  128. <!-- 定时任务-->
  129. <dependency>
  130. <groupId>com.ruoyi</groupId>
  131. <artifactId>ruoyi-quartz</artifactId>
  132. <version>${ruoyi-vue-plus.version}</version>
  133. </dependency>
  134. <!-- 代码生成-->
  135. <dependency>
  136. <groupId>com.ruoyi</groupId>
  137. <artifactId>ruoyi-generator</artifactId>
  138. <version>${ruoyi-vue-plus.version}</version>
  139. </dependency>
  140. <!-- 核心模块-->
  141. <dependency>
  142. <groupId>com.ruoyi</groupId>
  143. <artifactId>ruoyi-framework</artifactId>
  144. <version>${ruoyi-vue-plus.version}</version>
  145. </dependency>
  146. <!-- 系统模块-->
  147. <dependency>
  148. <groupId>com.ruoyi</groupId>
  149. <artifactId>ruoyi-system</artifactId>
  150. <version>${ruoyi-vue-plus.version}</version>
  151. </dependency>
  152. <!-- 通用工具-->
  153. <dependency>
  154. <groupId>com.ruoyi</groupId>
  155. <artifactId>ruoyi-common</artifactId>
  156. <version>${ruoyi-vue-plus.version}</version>
  157. </dependency>
  158. <!-- demo模块 -->
  159. <dependency>
  160. <groupId>com.ruoyi</groupId>
  161. <artifactId>ruoyi-demo</artifactId>
  162. <version>${ruoyi-vue-plus.version}</version>
  163. </dependency>
  164. </dependencies>
  165. </dependencyManagement>
  166. <modules>
  167. <module>ruoyi-admin</module>
  168. <module>ruoyi-framework</module>
  169. <module>ruoyi-system</module>
  170. <module>ruoyi-quartz</module>
  171. <module>ruoyi-generator</module>
  172. <module>ruoyi-common</module>
  173. <module>ruoyi-demo</module>
  174. </modules>
  175. <packaging>pom</packaging>
  176. <dependencies>
  177. </dependencies>
  178. <build>
  179. <plugins>
  180. <plugin>
  181. <groupId>org.apache.maven.plugins</groupId>
  182. <artifactId>maven-compiler-plugin</artifactId>
  183. <version>3.1</version>
  184. <configuration>
  185. <source>${java.version}</source>
  186. <target>${java.version}</target>
  187. <encoding>${project.build.sourceEncoding}</encoding>
  188. </configuration>
  189. </plugin>
  190. </plugins>
  191. <resources>
  192. <resource>
  193. <!--打包该目录下的 application.yml -->
  194. <directory>src/main/resources</directory>
  195. <!-- 启用过滤 即该资源中的变量将会被过滤器中的值替换 -->
  196. <filtering>true</filtering>
  197. </resource>
  198. </resources>
  199. </build>
  200. <repositories>
  201. <repository>
  202. <id>public</id>
  203. <name>aliyun nexus</name>
  204. <url>http://maven.aliyun.com/nexus/content/groups/public/</url>
  205. <releases>
  206. <enabled>true</enabled>
  207. </releases>
  208. </repository>
  209. </repositories>
  210. <pluginRepositories>
  211. <pluginRepository>
  212. <id>public</id>
  213. <name>aliyun nexus</name>
  214. <url>http://maven.aliyun.com/nexus/content/groups/public/</url>
  215. <releases>
  216. <enabled>true</enabled>
  217. </releases>
  218. <snapshots>
  219. <enabled>false</enabled>
  220. </snapshots>
  221. </pluginRepository>
  222. </pluginRepositories>
  223. <profiles>
  224. <profile>
  225. <id>dev</id>
  226. <properties>
  227. <!-- 环境标识,需要与配置文件的名称相对应 -->
  228. <profiles.active>dev</profiles.active>
  229. <logging.level>debug</logging.level>
  230. </properties>
  231. <activation>
  232. <!-- 默认环境 -->
  233. <activeByDefault>true</activeByDefault>
  234. </activation>
  235. </profile>
  236. <profile>
  237. <id>prod</id>
  238. <properties>
  239. <profiles.active>prod</profiles.active>
  240. <logging.level>warn</logging.level>
  241. </properties>
  242. </profile>
  243. </profiles>
  244. </project>