2
0

pom.xml 10 KB

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