pom.xml 7.7 KB

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