pom.xml 8.7 KB

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