pom.xml 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443
  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. <parent>
  6. <groupId>org.springframework.boot</groupId>
  7. <artifactId>spring-boot-starter-parent</artifactId>
  8. <version>2.1.5.RELEASE</version>
  9. <relativePath/> <!-- lookup parent from repository -->
  10. </parent>
  11. <groupId>com.juxiao.xchat</groupId>
  12. <artifactId>juxiao-xchat-admin</artifactId>
  13. <version>0.0.1-SNAPSHOT</version>
  14. <!--<packaging>war</packaging>-->
  15. <packaging>jar</packaging>
  16. <name>xchat-admin</name>
  17. <description>聚效管理后台</description>
  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. <shiro.version>1.4.0</shiro.version>
  23. <thymeleaf.extras.shiro.version>2.0.0</thymeleaf.extras.shiro.version>
  24. <mybatis.spring.boot.starter.version>1.3.2</mybatis.spring.boot.starter.version>
  25. <pagehelper.spring.boot.starter.version>1.2.5</pagehelper.spring.boot.starter.version>
  26. <fastjson.version>1.2.47</fastjson.version>
  27. <druid.version>1.1.14</druid.version>
  28. <commons.io.version>2.5</commons.io.version>
  29. <commons.fileupload.version>1.3.3</commons.fileupload.version>
  30. <bitwalker.version>1.19</bitwalker.version>
  31. <lombok.version>1.16.18</lombok.version>
  32. <velocity.version>1.7</velocity.version>
  33. <kaptcha.version>2.3.2</kaptcha.version>
  34. <swagger.version>2.9.2</swagger.version>
  35. <jsoup.version>1.11.3</jsoup.version>
  36. <poi.version>3.17</poi.version>
  37. <oshi.version>3.9.1</oshi.version>
  38. <ip2region.version>1.7.2</ip2region.version>
  39. </properties>
  40. <dependencies>
  41. <!-- SpringBoot 核心包 -->
  42. <dependency>
  43. <groupId>org.springframework.boot</groupId>
  44. <artifactId>spring-boot-starter</artifactId>
  45. <!--
  46. <exclusions>
  47. <exclusion>
  48. <artifactId>spring-boot-starter-tomcat</artifactId>
  49. <groupId>org.springframework.boot</groupId>
  50. </exclusion>
  51. </exclusions>
  52. -->
  53. </dependency>
  54. <!-- SpringBoot 测试 -->
  55. <dependency>
  56. <groupId>org.springframework.boot</groupId>
  57. <artifactId>spring-boot-starter-test</artifactId>
  58. <scope>test</scope>
  59. </dependency>
  60. <!-- SpringBoot 拦截器 -->
  61. <dependency>
  62. <groupId>org.springframework.boot</groupId>
  63. <artifactId>spring-boot-starter-aop</artifactId>
  64. </dependency>
  65. <!-- SpringBoot Web容器 -->
  66. <dependency>
  67. <groupId>org.springframework.boot</groupId>
  68. <artifactId>spring-boot-starter-web</artifactId>
  69. </dependency>
  70. <!-- SpringBoot集成thymeleaf模板 -->
  71. <dependency>
  72. <groupId>org.springframework.boot</groupId>
  73. <artifactId>spring-boot-starter-thymeleaf</artifactId>
  74. </dependency>
  75. <!-- spring-boot-devtools -->
  76. <dependency>
  77. <groupId>org.springframework.boot</groupId>
  78. <artifactId>spring-boot-devtools</artifactId>
  79. <optional>true</optional> <!-- 表示依赖不会传递 -->
  80. </dependency>
  81. <!-- Mysql驱动包 -->
  82. <dependency>
  83. <groupId>mysql</groupId>
  84. <artifactId>mysql-connector-java</artifactId>
  85. <version>5.1.34</version>
  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-spring-boot-starter</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. <dependency>
  141. <groupId>org.springframework.boot</groupId>
  142. <artifactId>spring-boot-starter-data-redis</artifactId>
  143. </dependency>
  144. <!-- thymeleaf模板引擎和shiro框架的整合 -->
  145. <dependency>
  146. <groupId>com.github.theborakompanioni</groupId>
  147. <artifactId>thymeleaf-extras-shiro</artifactId>
  148. <version>${thymeleaf.extras.shiro.version}</version>
  149. </dependency>
  150. <!-- 阿里JSON解析器 -->
  151. <dependency>
  152. <groupId>com.alibaba</groupId>
  153. <artifactId>fastjson</artifactId>
  154. <version>${fastjson.version}</version>
  155. </dependency>
  156. <!-- 解析客户端操作系统、浏览器等 -->
  157. <dependency>
  158. <groupId>eu.bitwalker</groupId>
  159. <artifactId>UserAgentUtils</artifactId>
  160. <version>${bitwalker.version}</version>
  161. </dependency>
  162. <!--Spring框架基本的核心工具-->
  163. <dependency>
  164. <groupId>org.springframework</groupId>
  165. <artifactId>spring-context-support</artifactId>
  166. </dependency>
  167. <!--velocity代码生成使用模板 -->
  168. <dependency>
  169. <groupId>org.apache.velocity</groupId>
  170. <artifactId>velocity</artifactId>
  171. <version>${velocity.version}</version>
  172. </dependency>
  173. <!--验证码 -->
  174. <dependency>
  175. <groupId>com.github.penggle</groupId>
  176. <artifactId>kaptcha</artifactId>
  177. <version>${kaptcha.version}</version>
  178. <exclusions>
  179. <exclusion>
  180. <artifactId>javax.servlet-api</artifactId>
  181. <groupId>javax.servlet</groupId>
  182. </exclusion>
  183. </exclusions>
  184. </dependency>
  185. <!-- swagger2-->
  186. <dependency>
  187. <groupId>io.springfox</groupId>
  188. <artifactId>springfox-swagger2</artifactId>
  189. <version>${swagger.version}</version>
  190. <exclusions>
  191. <exclusion>
  192. <groupId>io.swagger</groupId>
  193. <artifactId>swagger-annotations</artifactId>
  194. </exclusion>
  195. <exclusion>
  196. <groupId>io.swagger</groupId>
  197. <artifactId>swagger-models</artifactId>
  198. </exclusion>
  199. </exclusions>
  200. </dependency>
  201. <!--防止进入swagger页面报类型转换错误,排除2.9.2中的引用,手动增加1.5.21版本-->
  202. <dependency>
  203. <groupId>io.swagger</groupId>
  204. <artifactId>swagger-annotations</artifactId>
  205. <version>1.5.21</version>
  206. </dependency>
  207. <dependency>
  208. <groupId>io.swagger</groupId>
  209. <artifactId>swagger-models</artifactId>
  210. <version>1.5.21</version>
  211. </dependency>
  212. <!-- swagger2-UI-->
  213. <dependency>
  214. <groupId>io.springfox</groupId>
  215. <artifactId>springfox-swagger-ui</artifactId>
  216. <version>${swagger.version}</version>
  217. </dependency>
  218. <!-- 获取系统信息 -->
  219. <dependency>
  220. <groupId>com.github.oshi</groupId>
  221. <artifactId>oshi-core</artifactId>
  222. <version>${oshi.version}</version>
  223. </dependency>
  224. <dependency>
  225. <groupId>net.java.dev.jna</groupId>
  226. <artifactId>jna</artifactId>
  227. </dependency>
  228. <dependency>
  229. <groupId>net.java.dev.jna</groupId>
  230. <artifactId>jna-platform</artifactId>
  231. </dependency>
  232. <!-- HTML解析器 -->
  233. <dependency>
  234. <groupId>org.jsoup</groupId>
  235. <artifactId>jsoup</artifactId>
  236. <version>${jsoup.version}</version>
  237. </dependency>
  238. <!-- excel工具 -->
  239. <dependency>
  240. <groupId>org.apache.poi</groupId>
  241. <artifactId>poi-ooxml</artifactId>
  242. <version>${poi.version}</version>
  243. </dependency>
  244. <!--lombok插件-->
  245. <dependency>
  246. <groupId>org.projectlombok</groupId>
  247. <artifactId>lombok</artifactId>
  248. <optional>true</optional>
  249. </dependency>
  250. <dependency>
  251. <groupId>org.springframework.boot</groupId>
  252. <artifactId>spring-boot-configuration-processor</artifactId>
  253. <optional>true</optional>
  254. </dependency>
  255. <dependency>
  256. <groupId>org.springframework.boot</groupId>
  257. <artifactId>spring-boot-actuator</artifactId>
  258. </dependency>
  259. <dependency>
  260. <groupId>org.springframework.boot</groupId>
  261. <artifactId>spring-boot-starter-actuator</artifactId>
  262. </dependency>
  263. <dependency>
  264. <groupId>org.springframework.boot</groupId>
  265. <artifactId>spring-boot-starter-logging</artifactId>
  266. </dependency>
  267. <dependency>
  268. <groupId>com.google.code.gson</groupId>
  269. <artifactId>gson</artifactId>
  270. <version>2.8.5</version>
  271. </dependency>
  272. <!-- 七牛 -->
  273. <dependency>
  274. <groupId>com.qiniu</groupId>
  275. <artifactId>qiniu-java-sdk</artifactId>
  276. <version>7.2.8</version>
  277. </dependency>
  278. <!-- ================================== httpclient 开始 ================================== -->
  279. <dependency>
  280. <groupId>org.apache.httpcomponents</groupId>
  281. <artifactId>httpclient</artifactId>
  282. </dependency>
  283. <dependency>
  284. <groupId>org.apache.httpcomponents</groupId>
  285. <artifactId>httpmime</artifactId>
  286. </dependency>
  287. <!-- ================================== httpclient 结束 ================================== -->
  288. <dependency>
  289. <groupId>oro</groupId>
  290. <artifactId>oro</artifactId>
  291. <version>2.0.8</version>
  292. </dependency>
  293. <dependency>
  294. <groupId>com.squareup.okhttp3</groupId>
  295. <artifactId>okhttp</artifactId>
  296. <version>3.14.2</version>
  297. </dependency>
  298. <dependency>
  299. <groupId>com.squareup.okhttp3</groupId>
  300. <artifactId>logging-interceptor</artifactId>
  301. <version>3.14.2</version>
  302. </dependency>
  303. <dependency>
  304. <groupId>me.zhyd.oauth</groupId>
  305. <artifactId>JustAuth</artifactId>
  306. <version>1.7.1</version>
  307. </dependency>
  308. <dependency>
  309. <groupId>org.lionsoul</groupId>
  310. <artifactId>ip2region</artifactId>
  311. <version>${ip2region.version}</version>
  312. </dependency>
  313. <dependency>
  314. <groupId>com.github.abel533</groupId>
  315. <artifactId>ECharts</artifactId>
  316. <version>3.0.0.6</version>
  317. </dependency>
  318. <dependency>
  319. <groupId>cn.hutool</groupId>
  320. <artifactId>hutool-all</artifactId>
  321. <version>4.5.17</version>
  322. </dependency>
  323. </dependencies>
  324. <build>
  325. <finalName>xbd-admin</finalName>
  326. <plugins>
  327. <plugin>
  328. <groupId>org.springframework.boot</groupId>
  329. <artifactId>spring-boot-maven-plugin</artifactId>
  330. <configuration>
  331. <fork>true</fork> <!-- 如果没有该配置,devtools不会生效 -->
  332. </configuration>
  333. </plugin>
  334. </plugins>
  335. </build>
  336. <repositories>
  337. <!--阿里云主仓库,代理了maven central和jcenter仓库-->
  338. <repository>
  339. <id>aliyun</id>
  340. <name>aliyun</name>
  341. <url>https://maven.aliyun.com/repository/public</url>
  342. <releases>
  343. <enabled>true</enabled>
  344. </releases>
  345. <snapshots>
  346. <enabled>false</enabled>
  347. </snapshots>
  348. </repository>
  349. <!--阿里云代理Spring 官方仓库-->
  350. <repository>
  351. <id>spring-milestones</id>
  352. <name>Spring Milestones</name>
  353. <url>https://maven.aliyun.com/repository/spring</url>
  354. <releases>
  355. <enabled>true</enabled>
  356. </releases>
  357. <snapshots>
  358. <enabled>false</enabled>
  359. </snapshots>
  360. </repository>
  361. <repository>
  362. <id>sonatype-nexus-snapshots</id>
  363. <name>Sonatype Nexus Snapshots</name>
  364. <url>https://oss.sonatype.org/content/repositories/snapshots/</url>
  365. <snapshots>
  366. <enabled>true</enabled>
  367. </snapshots>
  368. <releases>
  369. <enabled>false</enabled>
  370. </releases>
  371. </repository>
  372. </repositories>
  373. <pluginRepositories>
  374. <pluginRepository>
  375. <id>public</id>
  376. <name>aliyun nexus</name>
  377. <url>http://maven.aliyun.com/nexus/content/groups/public/</url>
  378. <releases>
  379. <enabled>true</enabled>
  380. </releases>
  381. <snapshots>
  382. <enabled>false</enabled>
  383. </snapshots>
  384. </pluginRepository>
  385. </pluginRepositories>
  386. </project>