pom.xml 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329
  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>3.8.5</version>
  8. <packaging>jar</packaging>
  9. <name>ruoyi</name>
  10. <url>http://www.ruoyi.vip</url>
  11. <description>若依管理系统</description>
  12. <parent>
  13. <groupId>org.springframework.boot</groupId>
  14. <artifactId>spring-boot-starter-parent</artifactId>
  15. <version>2.5.14</version>
  16. <relativePath />
  17. </parent>
  18. <properties>
  19. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  20. <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
  21. <java.version>1.8</java.version>
  22. <maven-jar-plugin.version>3.1.1</maven-jar-plugin.version>
  23. <pagehelper.spring.boot.starter.version>1.4.6</pagehelper.spring.boot.starter.version>
  24. <fastjson.version>2.0.23</fastjson.version>
  25. <druid.version>1.2.16</druid.version>
  26. <commons.io.version>2.11.0</commons.io.version>
  27. <commons.collections.version>3.2.2</commons.collections.version>
  28. <bitwalker.version>1.21</bitwalker.version>
  29. <jwt.version>0.9.1</jwt.version>
  30. <kaptcha.version>2.3.3</kaptcha.version>
  31. <swagger.version>3.0.0</swagger.version>
  32. <poi.version>4.1.2</poi.version>
  33. <oshi.version>6.4.0</oshi.version>
  34. <velocity.version>2.3</velocity.version>
  35. <easyexcel.version>3.1.0</easyexcel.version>
  36. <slf4j.version>1.7.32</slf4j.version>
  37. </properties>
  38. <dependencies>
  39. <!--引入Knife4j的官方start包,该指南选择Spring Boot版本<3.0,开发者需要注意-->
  40. <dependency>
  41. <groupId>com.github.xiaoymin</groupId>
  42. <artifactId>knife4j-openapi2-spring-boot-starter</artifactId>
  43. <version>4.4.0</version>
  44. </dependency>
  45. <!-- 集成七牛云对象存储服务 -->
  46. <dependency>
  47. <groupId>com.qiniu</groupId>
  48. <artifactId>qiniu-java-sdk</artifactId>
  49. <version>7.7.0</version>
  50. </dependency>
  51. <!-- https://mvnrepository.com/artifact/com.google.code.gson/gson -->
  52. <dependency>
  53. <groupId>com.google.code.gson</groupId>
  54. <artifactId>gson</artifactId>
  55. <version>2.8.5</version>
  56. </dependency>
  57. <!-- Sa-Token 权限认证,在线文档:https://sa-token.cc -->
  58. <dependency>
  59. <groupId>cn.dev33</groupId>
  60. <artifactId>sa-token-spring-boot-starter</artifactId>
  61. <version>1.34.0</version>
  62. </dependency>
  63. <!-- SpringBoot 核心包 -->
  64. <dependency>
  65. <groupId>org.springframework.boot</groupId>
  66. <artifactId>spring-boot-starter</artifactId>
  67. </dependency>
  68. <!-- SpringBoot 测试 -->
  69. <dependency>
  70. <groupId>org.springframework.boot</groupId>
  71. <artifactId>spring-boot-starter-test</artifactId>
  72. <scope>test</scope>
  73. </dependency>
  74. <!-- SpringBoot 拦截器 -->
  75. <dependency>
  76. <groupId>org.springframework.boot</groupId>
  77. <artifactId>spring-boot-starter-aop</artifactId>
  78. </dependency>
  79. <!-- SpringBoot Web容器 -->
  80. <dependency>
  81. <groupId>org.springframework.boot</groupId>
  82. <artifactId>spring-boot-starter-web</artifactId>
  83. </dependency>
  84. <!-- spring-boot-devtools -->
  85. <dependency>
  86. <groupId>org.springframework.boot</groupId>
  87. <artifactId>spring-boot-devtools</artifactId>
  88. <optional>true</optional> <!-- 表示依赖不会传递 -->
  89. </dependency>
  90. <!-- spring security 安全认证 -->
  91. <dependency>
  92. <groupId>org.springframework.boot</groupId>
  93. <artifactId>spring-boot-starter-security</artifactId>
  94. </dependency>
  95. <!-- redis 缓存操作 -->
  96. <dependency>
  97. <groupId>org.springframework.boot</groupId>
  98. <artifactId>spring-boot-starter-data-redis</artifactId>
  99. </dependency>
  100. <!-- pool 对象池 -->
  101. <dependency>
  102. <groupId>org.apache.commons</groupId>
  103. <artifactId>commons-pool2</artifactId>
  104. </dependency>
  105. <!-- Mysql驱动包 -->
  106. <dependency>
  107. <groupId>mysql</groupId>
  108. <artifactId>mysql-connector-java</artifactId>
  109. <scope>runtime</scope>
  110. </dependency>
  111. <!-- pagehelper 分页插件 -->
  112. <dependency>
  113. <groupId>com.github.pagehelper</groupId>
  114. <artifactId>pagehelper-spring-boot-starter</artifactId>
  115. <version>${pagehelper.spring.boot.starter.version}</version>
  116. </dependency>
  117. <!-- 阿里数据库连接池 -->
  118. <dependency>
  119. <groupId>com.alibaba</groupId>
  120. <artifactId>druid-spring-boot-starter</artifactId>
  121. <version>${druid.version}</version>
  122. </dependency>
  123. <!-- 自定义验证注解 -->
  124. <dependency>
  125. <groupId>org.springframework.boot</groupId>
  126. <artifactId>spring-boot-starter-validation</artifactId>
  127. </dependency>
  128. <!-- 常用工具类 -->
  129. <dependency>
  130. <groupId>org.apache.commons</groupId>
  131. <artifactId>commons-lang3</artifactId>
  132. </dependency>
  133. <!-- io常用工具类 -->
  134. <dependency>
  135. <groupId>commons-io</groupId>
  136. <artifactId>commons-io</artifactId>
  137. <version>${commons.io.version}</version>
  138. </dependency>
  139. <!-- 解析客户端操作系统、浏览器等 -->
  140. <dependency>
  141. <groupId>eu.bitwalker</groupId>
  142. <artifactId>UserAgentUtils</artifactId>
  143. <version>${bitwalker.version}</version>
  144. </dependency>
  145. <!-- 阿里JSON解析器 -->
  146. <dependency>
  147. <groupId>com.alibaba.fastjson2</groupId>
  148. <artifactId>fastjson2</artifactId>
  149. <version>${fastjson.version}</version>
  150. </dependency>
  151. <!-- Spring框架基本的核心工具-->
  152. <dependency>
  153. <groupId>org.springframework</groupId>
  154. <artifactId>spring-context-support</artifactId>
  155. </dependency>
  156. <!-- Token生成与解析-->
  157. <dependency>
  158. <groupId>io.jsonwebtoken</groupId>
  159. <artifactId>jjwt</artifactId>
  160. <version>${jwt.version}</version>
  161. </dependency>
  162. <!-- Jaxb -->
  163. <dependency>
  164. <groupId>javax.xml.bind</groupId>
  165. <artifactId>jaxb-api</artifactId>
  166. </dependency>
  167. <!-- Swagger3依赖 -->
  168. <!-- <dependency>-->
  169. <!-- <groupId>io.springfox</groupId>-->
  170. <!-- <artifactId>springfox-boot-starter</artifactId>-->
  171. <!-- <version>${swagger.version}</version>-->
  172. <!-- <exclusions>-->
  173. <!-- <exclusion>-->
  174. <!-- <groupId>io.swagger</groupId>-->
  175. <!-- <artifactId>swagger-models</artifactId>-->
  176. <!-- </exclusion>-->
  177. <!-- </exclusions>-->
  178. <!-- </dependency>-->
  179. <!-- 防止进入swagger页面报类型转换错误,排除3.0.0中的引用,手动增加1.6.2版本 -->
  180. <!-- <dependency>-->
  181. <!-- <groupId>io.swagger</groupId>-->
  182. <!-- <artifactId>swagger-models</artifactId>-->
  183. <!-- <version>1.6.2</version>-->
  184. <!-- </dependency>-->
  185. <!-- 获取系统信息 -->
  186. <dependency>
  187. <groupId>com.github.oshi</groupId>
  188. <artifactId>oshi-core</artifactId>
  189. <version>${oshi.version}</version>
  190. </dependency>
  191. <!-- excel工具 -->
  192. <!--easyexcel工具 -->
  193. <dependency>
  194. <groupId>com.alibaba</groupId>
  195. <artifactId>easyexcel</artifactId>
  196. <version>${easyexcel.version}</version>
  197. </dependency>
  198. <!-- xlsx(07) -->
  199. <dependency>
  200. <groupId>org.apache.poi</groupId>
  201. <artifactId>poi-ooxml</artifactId>
  202. <version>${poi.version}</version>
  203. </dependency>
  204. <!--xls(03) -->
  205. <dependency>
  206. <groupId>org.apache.poi</groupId>
  207. <artifactId>poi</artifactId>
  208. <version>${poi.version}</version>
  209. </dependency>
  210. <!-- velocity代码生成使用模板 -->
  211. <dependency>
  212. <groupId>org.apache.velocity</groupId>
  213. <artifactId>velocity-engine-core</artifactId>
  214. <version>${velocity.version}</version>
  215. </dependency>
  216. <!-- collections工具类 -->
  217. <dependency>
  218. <groupId>commons-collections</groupId>
  219. <artifactId>commons-collections</artifactId>
  220. <version>${commons.collections.version}</version>
  221. </dependency>
  222. <!-- 定时任务 -->
  223. <dependency>
  224. <groupId>org.quartz-scheduler</groupId>
  225. <artifactId>quartz</artifactId>
  226. <exclusions>
  227. <exclusion>
  228. <groupId>com.mchange</groupId>
  229. <artifactId>c3p0</artifactId>
  230. </exclusion>
  231. </exclusions>
  232. </dependency>
  233. <!-- 验证码 -->
  234. <dependency>
  235. <groupId>pro.fessional</groupId>
  236. <artifactId>kaptcha</artifactId>
  237. <version>${kaptcha.version}</version>
  238. <exclusions>
  239. <exclusion>
  240. <artifactId>javax.servlet-api</artifactId>
  241. <groupId>javax.servlet</groupId>
  242. </exclusion>
  243. </exclusions>
  244. </dependency>
  245. <dependency>
  246. <groupId>junit</groupId>
  247. <artifactId>junit</artifactId>
  248. </dependency>
  249. </dependencies>
  250. <build>
  251. <finalName>vrone</finalName>
  252. <plugins>
  253. <plugin>
  254. <groupId>org.springframework.boot</groupId>
  255. <artifactId>spring-boot-maven-plugin</artifactId>
  256. <configuration>
  257. <fork>true</fork> <!-- 如果没有该配置,devtools不会生效 -->
  258. </configuration>
  259. </plugin>
  260. </plugins>
  261. </build>
  262. <repositories>
  263. <repository>
  264. <id>public</id>
  265. <name>aliyun nexus</name>
  266. <url>https://maven.aliyun.com/repository/public</url>
  267. <releases>
  268. <enabled>true</enabled>
  269. </releases>
  270. </repository>
  271. </repositories>
  272. <pluginRepositories>
  273. <pluginRepository>
  274. <id>public</id>
  275. <name>aliyun nexus</name>
  276. <url>https://maven.aliyun.com/repository/public</url>
  277. <releases>
  278. <enabled>true</enabled>
  279. </releases>
  280. <snapshots>
  281. <enabled>false</enabled>
  282. </snapshots>
  283. </pluginRepository>
  284. </pluginRepositories>
  285. </project>