pom.xml 9.6 KB

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