pom.xml 8.4 KB

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