pom.xml 10.0 KB

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