pom.xml 8.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290
  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.2.0</version>
  8. <packaging>jar</packaging>
  9. <name>RuoYi</name>
  10. <description>若依管理系统</description>
  11. <parent>
  12. <groupId>org.springframework.boot</groupId>
  13. <artifactId>spring-boot-starter-parent</artifactId>
  14. <version>2.0.3.RELEASE</version>
  15. <relativePath />
  16. </parent>
  17. <properties>
  18. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  19. <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
  20. <java.version>1.8</java.version>
  21. <shiro.version>1.4.0</shiro.version>
  22. <thymeleaf.extras.shiro.version>2.0.0</thymeleaf.extras.shiro.version>
  23. <mybatis.spring.boot.starter.version>1.3.2</mybatis.spring.boot.starter.version>
  24. <pagehelper.spring.boot.starter.version>1.2.5</pagehelper.spring.boot.starter.version>
  25. <fastjson.version>1.2.47</fastjson.version>
  26. <druid.version>1.1.10</druid.version>
  27. <commons.io.version>2.5</commons.io.version>
  28. <commons.fileupload.version>1.3.3</commons.fileupload.version>
  29. <bitwalker.version>1.19</bitwalker.version>
  30. <lombok.version>1.16.18</lombok.version>
  31. <velocity.version>1.7</velocity.version>
  32. <kaptcha.version>2.3.2</kaptcha.version>
  33. <swagger.version>2.7.0</swagger.version>
  34. <jsoup.version>1.11.3</jsoup.version>
  35. </properties>
  36. <dependencies>
  37. <!-- SpringBoot 核心包 -->
  38. <dependency>
  39. <groupId>org.springframework.boot</groupId>
  40. <artifactId>spring-boot-starter</artifactId>
  41. <!--
  42. <exclusions>
  43. <exclusion>
  44. <artifactId>spring-boot-starter-tomcat</artifactId>
  45. <groupId>org.springframework.boot</groupId>
  46. </exclusion>
  47. </exclusions>
  48. -->
  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. <!-- SpringBoot集成thymeleaf模板 -->
  67. <dependency>
  68. <groupId>org.springframework.boot</groupId>
  69. <artifactId>spring-boot-starter-thymeleaf</artifactId>
  70. </dependency>
  71. <!-- spring-boot-devtools -->
  72. <dependency>
  73. <groupId>org.springframework.boot</groupId>
  74. <artifactId>spring-boot-devtools</artifactId>
  75. <optional>true</optional> <!-- 表示依赖不会传递 -->
  76. </dependency>
  77. <!-- thymeleaf网页解析 -->
  78. <dependency>
  79. <groupId>net.sourceforge.nekohtml</groupId>
  80. <artifactId>nekohtml</artifactId>
  81. </dependency>
  82. <!-- Mysql驱动包 -->
  83. <dependency>
  84. <groupId>mysql</groupId>
  85. <artifactId>mysql-connector-java</artifactId>
  86. </dependency>
  87. <!-- SpringBoot集成mybatis框架 -->
  88. <dependency>
  89. <groupId>org.mybatis.spring.boot</groupId>
  90. <artifactId>mybatis-spring-boot-starter</artifactId>
  91. <version>${mybatis.spring.boot.starter.version}</version>
  92. </dependency>
  93. <!-- pagehelper 分页插件 -->
  94. <dependency>
  95. <groupId>com.github.pagehelper</groupId>
  96. <artifactId>pagehelper-spring-boot-starter</artifactId>
  97. <version>${pagehelper.spring.boot.starter.version}</version>
  98. </dependency>
  99. <!--阿里数据库连接池 -->
  100. <dependency>
  101. <groupId>com.alibaba</groupId>
  102. <artifactId>druid</artifactId>
  103. <version>${druid.version}</version>
  104. </dependency>
  105. <!--常用工具类 -->
  106. <dependency>
  107. <groupId>org.apache.commons</groupId>
  108. <artifactId>commons-lang3</artifactId>
  109. </dependency>
  110. <!--io常用工具类 -->
  111. <dependency>
  112. <groupId>commons-io</groupId>
  113. <artifactId>commons-io</artifactId>
  114. <version>${commons.io.version}</version>
  115. </dependency>
  116. <!--文件上传工具类 -->
  117. <dependency>
  118. <groupId>commons-fileupload</groupId>
  119. <artifactId>commons-fileupload</artifactId>
  120. <version>${commons.fileupload.version}</version>
  121. </dependency>
  122. <!--Shiro核心框架 -->
  123. <dependency>
  124. <groupId>org.apache.shiro</groupId>
  125. <artifactId>shiro-core</artifactId>
  126. <version>${shiro.version}</version>
  127. </dependency>
  128. <!-- Shiro使用Srping框架 -->
  129. <dependency>
  130. <groupId>org.apache.shiro</groupId>
  131. <artifactId>shiro-spring</artifactId>
  132. <version>${shiro.version}</version>
  133. </dependency>
  134. <!-- Shiro使用EhCache缓存框架 -->
  135. <dependency>
  136. <groupId>org.apache.shiro</groupId>
  137. <artifactId>shiro-ehcache</artifactId>
  138. <version>${shiro.version}</version>
  139. </dependency>
  140. <!-- thymeleaf模板引擎和shiro框架的整合 -->
  141. <dependency>
  142. <groupId>com.github.theborakompanioni</groupId>
  143. <artifactId>thymeleaf-extras-shiro</artifactId>
  144. <version>${thymeleaf.extras.shiro.version}</version>
  145. </dependency>
  146. <!-- 阿里JSON解析器 -->
  147. <dependency>
  148. <groupId>com.alibaba</groupId>
  149. <artifactId>fastjson</artifactId>
  150. <version>${fastjson.version}</version>
  151. </dependency>
  152. <!-- 解析客户端操作系统、浏览器等 -->
  153. <dependency>
  154. <groupId>eu.bitwalker</groupId>
  155. <artifactId>UserAgentUtils</artifactId>
  156. <version>${bitwalker.version}</version>
  157. </dependency>
  158. <!--Spring框架基本的核心工具-->
  159. <dependency>
  160. <groupId>org.springframework</groupId>
  161. <artifactId>spring-context-support</artifactId>
  162. </dependency>
  163. <!-- 定时任务 -->
  164. <dependency>
  165. <groupId>org.quartz-scheduler</groupId>
  166. <artifactId>quartz</artifactId>
  167. <exclusions>
  168. <exclusion>
  169. <groupId>com.mchange</groupId>
  170. <artifactId>c3p0</artifactId>
  171. </exclusion>
  172. </exclusions>
  173. </dependency>
  174. <!--velocity代码生成使用模板 -->
  175. <dependency>
  176. <groupId>org.apache.velocity</groupId>
  177. <artifactId>velocity</artifactId>
  178. <version>${velocity.version}</version>
  179. </dependency>
  180. <!--验证码 -->
  181. <dependency>
  182. <groupId>com.github.penggle</groupId>
  183. <artifactId>kaptcha</artifactId>
  184. <version>${kaptcha.version}</version>
  185. <exclusions>
  186. <exclusion>
  187. <artifactId>javax.servlet-api</artifactId>
  188. <groupId>javax.servlet</groupId>
  189. </exclusion>
  190. </exclusions>
  191. </dependency>
  192. <!-- swagger2-->
  193. <dependency>
  194. <groupId>io.springfox</groupId>
  195. <artifactId>springfox-swagger2</artifactId>
  196. <version>${swagger.version}</version>
  197. </dependency>
  198. <!-- swagger2-UI-->
  199. <dependency>
  200. <groupId>io.springfox</groupId>
  201. <artifactId>springfox-swagger-ui</artifactId>
  202. <version>${swagger.version}</version>
  203. </dependency>
  204. <!-- HTML解析器 -->
  205. <dependency>
  206. <groupId>org.jsoup</groupId>
  207. <artifactId>jsoup</artifactId>
  208. <version>${jsoup.version}</version>
  209. </dependency>
  210. <!-- excel工具 -->
  211. <dependency>
  212. <groupId>org.apache.poi</groupId>
  213. <artifactId>poi-ooxml</artifactId>
  214. <version>3.9</version>
  215. </dependency>
  216. </dependencies>
  217. <build>
  218. <finalName>${project.artifactId}</finalName>
  219. <plugins>
  220. <plugin>
  221. <groupId>org.springframework.boot</groupId>
  222. <artifactId>spring-boot-maven-plugin</artifactId>
  223. <configuration>
  224. <fork>true</fork> <!-- 如果没有该配置,devtools不会生效 -->
  225. </configuration>
  226. </plugin>
  227. </plugins>
  228. </build>
  229. <repositories>
  230. <repository>
  231. <id>public</id>
  232. <name>aliyun nexus</name>
  233. <url>http://maven.aliyun.com/nexus/content/groups/public/</url>
  234. <releases>
  235. <enabled>true</enabled>
  236. </releases>
  237. </repository>
  238. </repositories>
  239. <pluginRepositories>
  240. <pluginRepository>
  241. <id>public</id>
  242. <name>aliyun nexus</name>
  243. <url>http://maven.aliyun.com/nexus/content/groups/public/</url>
  244. <releases>
  245. <enabled>true</enabled>
  246. </releases>
  247. <snapshots>
  248. <enabled>false</enabled>
  249. </snapshots>
  250. </pluginRepository>
  251. </pluginRepositories>
  252. </project>