pom.xml 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336
  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.7</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.15</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.7</pagehelper.spring.boot.starter.version>
  24. <fastjson.version>2.0.43</fastjson.version>
  25. <druid.version>1.2.20</druid.version>
  26. <commons.io.version>2.13.0</commons.io.version>
  27. <bitwalker.version>1.21</bitwalker.version>
  28. <jwt.version>0.9.1</jwt.version>
  29. <kaptcha.version>2.3.3</kaptcha.version>
  30. <swagger.version>3.0.0</swagger.version>
  31. <poi.version>4.1.2</poi.version>
  32. <oshi.version>6.5.0</oshi.version>
  33. <velocity.version>2.3</velocity.version>
  34. <commons-lang3.version>3.12.0</commons-lang3.version>
  35. </properties>
  36. <dependencies>
  37. <!-- SpringBoot 核心包 -->
  38. <dependency>
  39. <groupId>org.springframework.boot</groupId>
  40. <artifactId>spring-boot-starter</artifactId>
  41. </dependency>
  42. <!-- SpringBoot 测试 -->
  43. <dependency>
  44. <groupId>org.springframework.boot</groupId>
  45. <artifactId>spring-boot-starter-test</artifactId>
  46. <scope>test</scope>
  47. </dependency>
  48. <!-- SpringBoot 拦截器 -->
  49. <dependency>
  50. <groupId>org.springframework.boot</groupId>
  51. <artifactId>spring-boot-starter-aop</artifactId>
  52. </dependency>
  53. <!-- SpringBoot Web容器 -->
  54. <dependency>
  55. <groupId>org.springframework.boot</groupId>
  56. <artifactId>spring-boot-starter-web</artifactId>
  57. </dependency>
  58. <!-- spring-boot-devtools -->
  59. <dependency>
  60. <groupId>org.springframework.boot</groupId>
  61. <artifactId>spring-boot-devtools</artifactId>
  62. <optional>true</optional> <!-- 表示依赖不会传递 -->
  63. </dependency>
  64. <!-- spring security 安全认证 -->
  65. <dependency>
  66. <groupId>org.springframework.boot</groupId>
  67. <artifactId>spring-boot-starter-security</artifactId>
  68. </dependency>
  69. <!-- redis 缓存操作 -->
  70. <dependency>
  71. <groupId>org.springframework.boot</groupId>
  72. <artifactId>spring-boot-starter-data-redis</artifactId>
  73. </dependency>
  74. <!-- https://mvnrepository.com/artifact/org.redisson/redisson -->
  75. <!-- <dependency>-->
  76. <!-- <groupId>org.redisson</groupId>-->
  77. <!-- <artifactId>redisson</artifactId>-->
  78. <!-- <version>3.30.0</version>-->
  79. <!-- </dependency>-->
  80. <dependency>
  81. <groupId>org.springframework.boot</groupId>
  82. <artifactId>spring-boot-starter-cache</artifactId>
  83. </dependency>
  84. <dependency>
  85. <groupId>org.springframework.boot</groupId>
  86. <artifactId>spring-boot-starter-mail</artifactId>
  87. </dependency>
  88. <!-- pool 对象池 -->
  89. <dependency>
  90. <groupId>org.apache.commons</groupId>
  91. <artifactId>commons-pool2</artifactId>
  92. </dependency>
  93. <!--mybatis依赖-->
  94. <dependency>
  95. <groupId>com.baomidou</groupId>
  96. <artifactId>mybatis-plus-extension</artifactId>
  97. <version>3.5.3.1</version>
  98. <scope>compile</scope>
  99. </dependency>
  100. <dependency>
  101. <groupId>com.baomidou</groupId>
  102. <artifactId>mybatis-plus-boot-starter</artifactId>
  103. <version>3.5.3.1</version>
  104. </dependency>
  105. <dependency>
  106. <groupId>com.baomidou</groupId>
  107. <artifactId>mybatis-plus-generator</artifactId>
  108. <version>3.5.3.1</version>
  109. </dependency>
  110. <!-- apache common lang -->
  111. <dependency>
  112. <groupId>org.apache.commons</groupId>
  113. <artifactId>commons-lang3</artifactId>
  114. <version>${commons-lang3.version}</version>
  115. </dependency>
  116. <!-- Mysql驱动包 -->
  117. <dependency>
  118. <groupId>mysql</groupId>
  119. <artifactId>mysql-connector-java</artifactId>
  120. <scope>runtime</scope>
  121. </dependency>
  122. <!-- pagehelper 分页插件 -->
  123. <dependency>
  124. <groupId>com.github.pagehelper</groupId>
  125. <artifactId>pagehelper-spring-boot-starter</artifactId>
  126. <version>${pagehelper.spring.boot.starter.version}</version>
  127. </dependency>
  128. <!-- 阿里数据库连接池 -->
  129. <dependency>
  130. <groupId>com.alibaba</groupId>
  131. <artifactId>druid-spring-boot-starter</artifactId>
  132. <version>${druid.version}</version>
  133. </dependency>
  134. <!-- 自定义验证注解 -->
  135. <dependency>
  136. <groupId>org.springframework.boot</groupId>
  137. <artifactId>spring-boot-starter-validation</artifactId>
  138. </dependency>
  139. <!-- 常用工具类 -->
  140. <dependency>
  141. <groupId>org.apache.commons</groupId>
  142. <artifactId>commons-lang3</artifactId>
  143. </dependency>
  144. <!-- io常用工具类 -->
  145. <dependency>
  146. <groupId>commons-io</groupId>
  147. <artifactId>commons-io</artifactId>
  148. <version>${commons.io.version}</version>
  149. </dependency>
  150. <!-- 解析客户端操作系统、浏览器等 -->
  151. <dependency>
  152. <groupId>eu.bitwalker</groupId>
  153. <artifactId>UserAgentUtils</artifactId>
  154. <version>${bitwalker.version}</version>
  155. </dependency>
  156. <!-- 阿里JSON解析器 -->
  157. <dependency>
  158. <groupId>com.alibaba.fastjson2</groupId>
  159. <artifactId>fastjson2</artifactId>
  160. <version>${fastjson.version}</version>
  161. </dependency>
  162. <!-- Spring框架基本的核心工具-->
  163. <dependency>
  164. <groupId>org.springframework</groupId>
  165. <artifactId>spring-context-support</artifactId>
  166. </dependency>
  167. <!-- Token生成与解析-->
  168. <dependency>
  169. <groupId>io.jsonwebtoken</groupId>
  170. <artifactId>jjwt</artifactId>
  171. <version>${jwt.version}</version>
  172. </dependency>
  173. <!-- Jaxb -->
  174. <dependency>
  175. <groupId>javax.xml.bind</groupId>
  176. <artifactId>jaxb-api</artifactId>
  177. </dependency>
  178. <!-- Swagger3依赖 -->
  179. <dependency>
  180. <groupId>io.springfox</groupId>
  181. <artifactId>springfox-boot-starter</artifactId>
  182. <version>${swagger.version}</version>
  183. <exclusions>
  184. <exclusion>
  185. <groupId>io.swagger</groupId>
  186. <artifactId>swagger-models</artifactId>
  187. </exclusion>
  188. </exclusions>
  189. </dependency>
  190. <!-- 防止进入swagger页面报类型转换错误,排除3.0.0中的引用,手动增加1.6.2版本 -->
  191. <dependency>
  192. <groupId>io.swagger</groupId>
  193. <artifactId>swagger-models</artifactId>
  194. <version>1.6.2</version>
  195. </dependency>
  196. <!-- 获取系统信息 -->
  197. <dependency>
  198. <groupId>com.github.oshi</groupId>
  199. <artifactId>oshi-core</artifactId>
  200. <version>${oshi.version}</version>
  201. </dependency>
  202. <!-- excel工具 -->
  203. <!-- 引入EasyPoi包 -->
  204. <dependency>
  205. <groupId>cn.afterturn</groupId>
  206. <artifactId>easypoi-spring-boot-starter</artifactId>
  207. <version>4.1.0</version>
  208. </dependency>
  209. <dependency>
  210. <groupId>org.apache.poi</groupId>
  211. <artifactId>poi-ooxml</artifactId>
  212. <version>${poi.version}</version>
  213. </dependency>
  214. <!-- velocity代码生成使用模板 -->
  215. <dependency>
  216. <groupId>org.apache.velocity</groupId>
  217. <artifactId>velocity-engine-core</artifactId>
  218. <version>${velocity.version}</version>
  219. </dependency>
  220. <!-- 定时任务 -->
  221. <dependency>
  222. <groupId>org.quartz-scheduler</groupId>
  223. <artifactId>quartz</artifactId>
  224. <exclusions>
  225. <exclusion>
  226. <groupId>com.mchange</groupId>
  227. <artifactId>c3p0</artifactId>
  228. </exclusion>
  229. </exclusions>
  230. </dependency>
  231. <!-- 验证码 -->
  232. <dependency>
  233. <groupId>pro.fessional</groupId>
  234. <artifactId>kaptcha</artifactId>
  235. <version>${kaptcha.version}</version>
  236. <exclusions>
  237. <exclusion>
  238. <artifactId>servlet-api</artifactId>
  239. <groupId>javax.servlet</groupId>
  240. </exclusion>
  241. </exclusions>
  242. </dependency>
  243. <dependency>
  244. <groupId>cn.hutool</groupId>
  245. <artifactId>hutool-all</artifactId>
  246. <version>5.8.5</version>
  247. </dependency>
  248. <dependency>
  249. <groupId>org.projectlombok</groupId>
  250. <artifactId>lombok</artifactId>
  251. </dependency>
  252. <dependency>
  253. <groupId>org.scijava</groupId>
  254. <artifactId>jep</artifactId>
  255. <version>2.4.2</version>
  256. </dependency>
  257. </dependencies>
  258. <build>
  259. <finalName>${project.artifactId}</finalName>
  260. <plugins>
  261. <plugin>
  262. <groupId>org.springframework.boot</groupId>
  263. <artifactId>spring-boot-maven-plugin</artifactId>
  264. <configuration>
  265. <fork>true</fork> <!-- 如果没有该配置,devtools不会生效 -->
  266. </configuration>
  267. </plugin>
  268. </plugins>
  269. </build>
  270. <repositories>
  271. <repository>
  272. <id>public</id>
  273. <name>aliyun nexus</name>
  274. <url>https://maven.aliyun.com/repository/public</url>
  275. <releases>
  276. <enabled>true</enabled>
  277. </releases>
  278. </repository>
  279. </repositories>
  280. <pluginRepositories>
  281. <pluginRepository>
  282. <id>public</id>
  283. <name>aliyun nexus</name>
  284. <url>https://maven.aliyun.com/repository/public</url>
  285. <releases>
  286. <enabled>true</enabled>
  287. </releases>
  288. <snapshots>
  289. <enabled>false</enabled>
  290. </snapshots>
  291. </pluginRepository>
  292. </pluginRepositories>
  293. </project>