2
0

pom.xml 10.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274
  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.8.8</version>
  9. <name>ruoyi</name>
  10. <url>http://www.ruoyi.vip</url>
  11. <description>若依管理系统</description>
  12. <properties>
  13. <ruoyi.version>3.8.8</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. <spring-boot.version>2.5.15</spring-boot.version>
  19. <druid.version>1.2.23</druid.version>
  20. <bitwalker.version>1.21</bitwalker.version>
  21. <swagger.version>3.0.0</swagger.version>
  22. <kaptcha.version>2.3.3</kaptcha.version>
  23. <pagehelper.boot.version>1.4.7</pagehelper.boot.version>
  24. <fastjson.version>2.0.53</fastjson.version>
  25. <oshi.version>6.6.5</oshi.version>
  26. <commons.io.version>2.13.0</commons.io.version>
  27. <poi.version>4.1.2</poi.version>
  28. <velocity.version>2.3</velocity.version>
  29. <jwt.version>0.9.1</jwt.version>
  30. <!-- override dependency version -->
  31. <tomcat.version>9.0.96</tomcat.version>
  32. <logback.version>1.2.13</logback.version>
  33. <spring-security.version>5.7.12</spring-security.version>
  34. <spring-framework.version>5.3.39</spring-framework.version>
  35. </properties>
  36. <!-- 依赖声明 -->
  37. <dependencyManagement>
  38. <dependencies>
  39. <!-- 覆盖SpringFramework的依赖配置-->
  40. <dependency>
  41. <groupId>org.springframework</groupId>
  42. <artifactId>spring-framework-bom</artifactId>
  43. <version>${spring-framework.version}</version>
  44. <type>pom</type>
  45. <scope>import</scope>
  46. </dependency>
  47. <!-- 覆盖SpringSecurity的依赖配置-->
  48. <dependency>
  49. <groupId>org.springframework.security</groupId>
  50. <artifactId>spring-security-bom</artifactId>
  51. <version>${spring-security.version}</version>
  52. <type>pom</type>
  53. <scope>import</scope>
  54. </dependency>
  55. <!-- SpringBoot的依赖配置-->
  56. <dependency>
  57. <groupId>org.springframework.boot</groupId>
  58. <artifactId>spring-boot-dependencies</artifactId>
  59. <version>${spring-boot.version}</version>
  60. <type>pom</type>
  61. <scope>import</scope>
  62. </dependency>
  63. <!-- 覆盖logback的依赖配置-->
  64. <dependency>
  65. <groupId>ch.qos.logback</groupId>
  66. <artifactId>logback-core</artifactId>
  67. <version>${logback.version}</version>
  68. </dependency>
  69. <dependency>
  70. <groupId>ch.qos.logback</groupId>
  71. <artifactId>logback-classic</artifactId>
  72. <version>${logback.version}</version>
  73. </dependency>
  74. <!-- 覆盖tomcat的依赖配置-->
  75. <dependency>
  76. <groupId>org.apache.tomcat.embed</groupId>
  77. <artifactId>tomcat-embed-core</artifactId>
  78. <version>${tomcat.version}</version>
  79. </dependency>
  80. <dependency>
  81. <groupId>org.apache.tomcat.embed</groupId>
  82. <artifactId>tomcat-embed-el</artifactId>
  83. <version>${tomcat.version}</version>
  84. </dependency>
  85. <dependency>
  86. <groupId>org.apache.tomcat.embed</groupId>
  87. <artifactId>tomcat-embed-websocket</artifactId>
  88. <version>${tomcat.version}</version>
  89. </dependency>
  90. <!-- 阿里数据库连接池 -->
  91. <dependency>
  92. <groupId>com.alibaba</groupId>
  93. <artifactId>druid-spring-boot-starter</artifactId>
  94. <version>${druid.version}</version>
  95. </dependency>
  96. <!-- 解析客户端操作系统、浏览器等 -->
  97. <dependency>
  98. <groupId>eu.bitwalker</groupId>
  99. <artifactId>UserAgentUtils</artifactId>
  100. <version>${bitwalker.version}</version>
  101. </dependency>
  102. <!-- pagehelper 分页插件 -->
  103. <dependency>
  104. <groupId>com.github.pagehelper</groupId>
  105. <artifactId>pagehelper-spring-boot-starter</artifactId>
  106. <version>${pagehelper.boot.version}</version>
  107. </dependency>
  108. <!-- 获取系统信息 -->
  109. <dependency>
  110. <groupId>com.github.oshi</groupId>
  111. <artifactId>oshi-core</artifactId>
  112. <version>${oshi.version}</version>
  113. </dependency>
  114. <!-- Swagger3依赖 -->
  115. <dependency>
  116. <groupId>io.springfox</groupId>
  117. <artifactId>springfox-boot-starter</artifactId>
  118. <version>${swagger.version}</version>
  119. <exclusions>
  120. <exclusion>
  121. <groupId>io.swagger</groupId>
  122. <artifactId>swagger-models</artifactId>
  123. </exclusion>
  124. </exclusions>
  125. </dependency>
  126. <!-- io常用工具类 -->
  127. <dependency>
  128. <groupId>commons-io</groupId>
  129. <artifactId>commons-io</artifactId>
  130. <version>${commons.io.version}</version>
  131. </dependency>
  132. <!-- excel工具 -->
  133. <dependency>
  134. <groupId>org.apache.poi</groupId>
  135. <artifactId>poi-ooxml</artifactId>
  136. <version>${poi.version}</version>
  137. </dependency>
  138. <!-- velocity代码生成使用模板 -->
  139. <dependency>
  140. <groupId>org.apache.velocity</groupId>
  141. <artifactId>velocity-engine-core</artifactId>
  142. <version>${velocity.version}</version>
  143. </dependency>
  144. <!-- 阿里JSON解析器 -->
  145. <dependency>
  146. <groupId>com.alibaba.fastjson2</groupId>
  147. <artifactId>fastjson2</artifactId>
  148. <version>${fastjson.version}</version>
  149. </dependency>
  150. <!-- Token生成与解析-->
  151. <dependency>
  152. <groupId>io.jsonwebtoken</groupId>
  153. <artifactId>jjwt</artifactId>
  154. <version>${jwt.version}</version>
  155. </dependency>
  156. <!-- 验证码 -->
  157. <dependency>
  158. <groupId>pro.fessional</groupId>
  159. <artifactId>kaptcha</artifactId>
  160. <version>${kaptcha.version}</version>
  161. </dependency>
  162. <!-- 定时任务-->
  163. <dependency>
  164. <groupId>com.ruoyi</groupId>
  165. <artifactId>ruoyi-quartz</artifactId>
  166. <version>${ruoyi.version}</version>
  167. </dependency>
  168. <!-- 代码生成-->
  169. <dependency>
  170. <groupId>com.ruoyi</groupId>
  171. <artifactId>ruoyi-generator</artifactId>
  172. <version>${ruoyi.version}</version>
  173. </dependency>
  174. <!-- 核心模块-->
  175. <dependency>
  176. <groupId>com.ruoyi</groupId>
  177. <artifactId>ruoyi-framework</artifactId>
  178. <version>${ruoyi.version}</version>
  179. </dependency>
  180. <!-- 系统模块-->
  181. <dependency>
  182. <groupId>com.ruoyi</groupId>
  183. <artifactId>ruoyi-system</artifactId>
  184. <version>${ruoyi.version}</version>
  185. </dependency>
  186. <!-- 通用工具-->
  187. <dependency>
  188. <groupId>com.ruoyi</groupId>
  189. <artifactId>ruoyi-common</artifactId>
  190. <version>${ruoyi.version}</version>
  191. </dependency>
  192. </dependencies>
  193. </dependencyManagement>
  194. <modules>
  195. <module>ruoyi-admin</module>
  196. <module>ruoyi-framework</module>
  197. <module>ruoyi-system</module>
  198. <module>ruoyi-quartz</module>
  199. <module>ruoyi-generator</module>
  200. <module>ruoyi-common</module>
  201. </modules>
  202. <packaging>pom</packaging>
  203. <build>
  204. <plugins>
  205. <plugin>
  206. <groupId>org.apache.maven.plugins</groupId>
  207. <artifactId>maven-compiler-plugin</artifactId>
  208. <version>3.1</version>
  209. <configuration>
  210. <source>${java.version}</source>
  211. <target>${java.version}</target>
  212. <encoding>${project.build.sourceEncoding}</encoding>
  213. </configuration>
  214. </plugin>
  215. </plugins>
  216. </build>
  217. <repositories>
  218. <repository>
  219. <id>public</id>
  220. <name>aliyun nexus</name>
  221. <url>https://maven.aliyun.com/repository/public</url>
  222. <releases>
  223. <enabled>true</enabled>
  224. </releases>
  225. </repository>
  226. </repositories>
  227. <pluginRepositories>
  228. <pluginRepository>
  229. <id>public</id>
  230. <name>aliyun nexus</name>
  231. <url>https://maven.aliyun.com/repository/public</url>
  232. <releases>
  233. <enabled>true</enabled>
  234. </releases>
  235. <snapshots>
  236. <enabled>false</enabled>
  237. </snapshots>
  238. </pluginRepository>
  239. </pluginRepositories>
  240. </project>