pom.xml 8.1 KB

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