pom.xml 9.3 KB

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