pom.xml 8.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312
  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>2.1.0</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.1.1.RELEASE</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. <mybatis.spring.boot.starter.version>1.3.2</mybatis.spring.boot.starter.version>
  23. <pagehelper.spring.boot.starter.version>1.2.5</pagehelper.spring.boot.starter.version>
  24. <fastjson.version>1.2.47</fastjson.version>
  25. <druid.version>1.1.14</druid.version>
  26. <commons.io.version>2.5</commons.io.version>
  27. <commons.fileupload.version>1.3.3</commons.fileupload.version>
  28. <bitwalker.version>1.19</bitwalker.version>
  29. <jwt.version>0.9.0</jwt.version>
  30. <swagger.version>2.9.2</swagger.version>
  31. <poi.version>3.17</poi.version>
  32. <oshi.version>3.9.1</oshi.version>
  33. <velocity.version>1.7</velocity.version>
  34. <mybatis-plus.version>3.3.0</mybatis-plus.version>
  35. <hutool.version>5.0.6</hutool.version>
  36. </properties>
  37. <dependencies>
  38. <!-- SpringBoot 核心包 -->
  39. <dependency>
  40. <groupId>org.springframework.boot</groupId>
  41. <artifactId>spring-boot-starter</artifactId>
  42. <exclusions>
  43. <exclusion>
  44. <artifactId>spring-boot-starter-tomcat</artifactId>
  45. <groupId>org.springframework.boot</groupId>
  46. </exclusion>
  47. </exclusions>
  48. </dependency>
  49. <!-- web 容器使用 undertow 性能更强 -->
  50. <dependency>
  51. <groupId>org.springframework.boot</groupId>
  52. <artifactId>spring-boot-starter-undertow</artifactId>
  53. </dependency>
  54. <!-- SpringBoot 测试 -->
  55. <dependency>
  56. <groupId>org.springframework.boot</groupId>
  57. <artifactId>spring-boot-starter-test</artifactId>
  58. <scope>test</scope>
  59. </dependency>
  60. <!-- SpringBoot 拦截器 -->
  61. <dependency>
  62. <groupId>org.springframework.boot</groupId>
  63. <artifactId>spring-boot-starter-aop</artifactId>
  64. </dependency>
  65. <!-- SpringBoot Web容器 -->
  66. <dependency>
  67. <groupId>org.springframework.boot</groupId>
  68. <artifactId>spring-boot-starter-web</artifactId>
  69. </dependency>
  70. <!-- spring-boot-devtools -->
  71. <dependency>
  72. <groupId>org.springframework.boot</groupId>
  73. <artifactId>spring-boot-devtools</artifactId>
  74. <optional>true</optional> <!-- 表示依赖不会传递 -->
  75. </dependency>
  76. <!-- spring security 安全认证 -->
  77. <dependency>
  78. <groupId>org.springframework.boot</groupId>
  79. <artifactId>spring-boot-starter-security</artifactId>
  80. </dependency>
  81. <!-- redis 缓存操作 -->
  82. <dependency>
  83. <groupId>org.springframework.boot</groupId>
  84. <artifactId>spring-boot-starter-data-redis</artifactId>
  85. </dependency>
  86. <!-- pool 对象池 -->
  87. <dependency>
  88. <groupId>org.apache.commons</groupId>
  89. <artifactId>commons-pool2</artifactId>
  90. </dependency>
  91. <!-- Mysql驱动包 -->
  92. <dependency>
  93. <groupId>mysql</groupId>
  94. <artifactId>mysql-connector-java</artifactId>
  95. <scope>runtime</scope>
  96. </dependency>
  97. <!-- &lt;!&ndash; SpringBoot集成mybatis框架 &ndash;&gt;-->
  98. <!-- <dependency>-->
  99. <!-- <groupId>org.mybatis.spring.boot</groupId>-->
  100. <!-- <artifactId>mybatis-spring-boot-starter</artifactId>-->
  101. <!-- <version>${mybatis.spring.boot.starter.version}</version>-->
  102. <!-- </dependency>-->
  103. <!-- pagehelper 分页插件 -->
  104. <dependency>
  105. <groupId>com.github.pagehelper</groupId>
  106. <artifactId>pagehelper-spring-boot-starter</artifactId>
  107. <version>${pagehelper.spring.boot.starter.version}</version>
  108. <exclusions>
  109. <exclusion>
  110. <groupId>org.mybatis</groupId>
  111. <artifactId>mybatis</artifactId>
  112. </exclusion>
  113. </exclusions>
  114. </dependency>
  115. <!--阿里数据库连接池 -->
  116. <dependency>
  117. <groupId>com.alibaba</groupId>
  118. <artifactId>druid-spring-boot-starter</artifactId>
  119. <version>${druid.version}</version>
  120. </dependency>
  121. <!--常用工具类 -->
  122. <dependency>
  123. <groupId>org.apache.commons</groupId>
  124. <artifactId>commons-lang3</artifactId>
  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. <!--文件上传工具类 -->
  133. <dependency>
  134. <groupId>commons-fileupload</groupId>
  135. <artifactId>commons-fileupload</artifactId>
  136. <version>${commons.fileupload.version}</version>
  137. </dependency>
  138. <!-- 解析客户端操作系统、浏览器等 -->
  139. <dependency>
  140. <groupId>eu.bitwalker</groupId>
  141. <artifactId>UserAgentUtils</artifactId>
  142. <version>${bitwalker.version}</version>
  143. </dependency>
  144. <!-- 阿里JSON解析器 -->
  145. <dependency>
  146. <groupId>com.alibaba</groupId>
  147. <artifactId>fastjson</artifactId>
  148. <version>${fastjson.version}</version>
  149. </dependency>
  150. <!--Spring框架基本的核心工具-->
  151. <dependency>
  152. <groupId>org.springframework</groupId>
  153. <artifactId>spring-context-support</artifactId>
  154. </dependency>
  155. <!--Token生成与解析-->
  156. <dependency>
  157. <groupId>io.jsonwebtoken</groupId>
  158. <artifactId>jjwt</artifactId>
  159. <version>${jwt.version}</version>
  160. </dependency>
  161. <!-- swagger2-->
  162. <dependency>
  163. <groupId>io.springfox</groupId>
  164. <artifactId>springfox-swagger2</artifactId>
  165. <version>${swagger.version}</version>
  166. <exclusions>
  167. <exclusion>
  168. <groupId>io.swagger</groupId>
  169. <artifactId>swagger-annotations</artifactId>
  170. </exclusion>
  171. <exclusion>
  172. <groupId>io.swagger</groupId>
  173. <artifactId>swagger-models</artifactId>
  174. </exclusion>
  175. </exclusions>
  176. </dependency>
  177. <!--防止进入swagger页面报类型转换错误,排除2.9.2中的引用,手动增加1.5.21版本-->
  178. <dependency>
  179. <groupId>io.swagger</groupId>
  180. <artifactId>swagger-annotations</artifactId>
  181. <version>1.5.21</version>
  182. </dependency>
  183. <dependency>
  184. <groupId>io.swagger</groupId>
  185. <artifactId>swagger-models</artifactId>
  186. <version>1.5.21</version>
  187. </dependency>
  188. <!-- swagger2-UI-->
  189. <dependency>
  190. <groupId>io.springfox</groupId>
  191. <artifactId>springfox-swagger-ui</artifactId>
  192. <version>${swagger.version}</version>
  193. </dependency>
  194. <!-- 获取系统信息 -->
  195. <dependency>
  196. <groupId>com.github.oshi</groupId>
  197. <artifactId>oshi-core</artifactId>
  198. <version>${oshi.version}</version>
  199. </dependency>
  200. <dependency>
  201. <groupId>net.java.dev.jna</groupId>
  202. <artifactId>jna</artifactId>
  203. </dependency>
  204. <dependency>
  205. <groupId>net.java.dev.jna</groupId>
  206. <artifactId>jna-platform</artifactId>
  207. </dependency>
  208. <!-- excel工具 -->
  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</artifactId>
  218. <version>${velocity.version}</version>
  219. </dependency>
  220. <dependency>
  221. <groupId>com.baomidou</groupId>
  222. <artifactId>mybatis-plus-boot-starter</artifactId>
  223. <version>${mybatis-plus.version}</version>
  224. </dependency>
  225. <dependency>
  226. <groupId>com.baomidou</groupId>
  227. <artifactId>mybatis-plus-extension</artifactId>
  228. <version>${mybatis-plus.version}</version>
  229. </dependency>
  230. <dependency>
  231. <groupId>cn.hutool</groupId>
  232. <artifactId>hutool-all</artifactId>
  233. <version>${hutool.version}</version>
  234. </dependency>
  235. <dependency>
  236. <groupId>org.projectlombok</groupId>
  237. <artifactId>lombok</artifactId>
  238. </dependency>
  239. </dependencies>
  240. <build>
  241. <finalName>${project.artifactId}</finalName>
  242. <plugins>
  243. <plugin>
  244. <groupId>org.springframework.boot</groupId>
  245. <artifactId>spring-boot-maven-plugin</artifactId>
  246. <configuration>
  247. <fork>true</fork> <!-- 如果没有该配置,devtools不会生效 -->
  248. </configuration>
  249. </plugin>
  250. </plugins>
  251. </build>
  252. <repositories>
  253. <repository>
  254. <id>public</id>
  255. <name>aliyun nexus</name>
  256. <url>http://maven.aliyun.com/nexus/content/groups/public/</url>
  257. <releases>
  258. <enabled>true</enabled>
  259. </releases>
  260. </repository>
  261. </repositories>
  262. <pluginRepositories>
  263. <pluginRepository>
  264. <id>public</id>
  265. <name>aliyun nexus</name>
  266. <url>http://maven.aliyun.com/nexus/content/groups/public/</url>
  267. <releases>
  268. <enabled>true</enabled>
  269. </releases>
  270. <snapshots>
  271. <enabled>false</enabled>
  272. </snapshots>
  273. </pluginRepository>
  274. </pluginRepositories>
  275. </project>