pom.xml 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451
  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. <maven-jar-plugin.version>3.1.1</maven-jar-plugin.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. <!-- Mysql驱动包 -->
  83. <dependency>
  84. <groupId>mysql</groupId>
  85. <artifactId>mysql-connector-java</artifactId>
  86. <version>5.1.34</version>
  87. </dependency>
  88. <!-- SpringBoot集成mybatis框架 -->
  89. <dependency>
  90. <groupId>org.mybatis.spring.boot</groupId>
  91. <artifactId>mybatis-spring-boot-starter</artifactId>
  92. <version>${mybatis.spring.boot.starter.version}</version>
  93. </dependency>
  94. <!-- pagehelper 分页插件 -->
  95. <dependency>
  96. <groupId>com.github.pagehelper</groupId>
  97. <artifactId>pagehelper-spring-boot-starter</artifactId>
  98. <version>${pagehelper.spring.boot.starter.version}</version>
  99. </dependency>
  100. <!--阿里数据库连接池 -->
  101. <dependency>
  102. <groupId>com.alibaba</groupId>
  103. <artifactId>druid-spring-boot-starter</artifactId>
  104. <version>${druid.version}</version>
  105. </dependency>
  106. <!--常用工具类 -->
  107. <dependency>
  108. <groupId>org.apache.commons</groupId>
  109. <artifactId>commons-lang3</artifactId>
  110. </dependency>
  111. <!--io常用工具类 -->
  112. <dependency>
  113. <groupId>commons-io</groupId>
  114. <artifactId>commons-io</artifactId>
  115. <version>${commons.io.version}</version>
  116. </dependency>
  117. <!--文件上传工具类 -->
  118. <dependency>
  119. <groupId>commons-fileupload</groupId>
  120. <artifactId>commons-fileupload</artifactId>
  121. <version>${commons.fileupload.version}</version>
  122. </dependency>
  123. <!--Shiro核心框架 -->
  124. <dependency>
  125. <groupId>org.apache.shiro</groupId>
  126. <artifactId>shiro-core</artifactId>
  127. <version>${shiro.version}</version>
  128. </dependency>
  129. <!-- Shiro使用Srping框架 -->
  130. <dependency>
  131. <groupId>org.apache.shiro</groupId>
  132. <artifactId>shiro-spring</artifactId>
  133. <version>${shiro.version}</version>
  134. </dependency>
  135. <!-- Shiro使用EhCache缓存框架 -->
  136. <dependency>
  137. <groupId>org.apache.shiro</groupId>
  138. <artifactId>shiro-ehcache</artifactId>
  139. <version>${shiro.version}</version>
  140. </dependency>
  141. <dependency>
  142. <groupId>org.springframework.boot</groupId>
  143. <artifactId>spring-boot-starter-data-redis</artifactId>
  144. </dependency>
  145. <!-- thymeleaf模板引擎和shiro框架的整合 -->
  146. <dependency>
  147. <groupId>com.github.theborakompanioni</groupId>
  148. <artifactId>thymeleaf-extras-shiro</artifactId>
  149. <version>${thymeleaf.extras.shiro.version}</version>
  150. </dependency>
  151. <!-- 阿里JSON解析器 -->
  152. <dependency>
  153. <groupId>com.alibaba</groupId>
  154. <artifactId>fastjson</artifactId>
  155. <version>${fastjson.version}</version>
  156. </dependency>
  157. <!-- 解析客户端操作系统、浏览器等 -->
  158. <dependency>
  159. <groupId>eu.bitwalker</groupId>
  160. <artifactId>UserAgentUtils</artifactId>
  161. <version>${bitwalker.version}</version>
  162. </dependency>
  163. <!--Spring框架基本的核心工具-->
  164. <dependency>
  165. <groupId>org.springframework</groupId>
  166. <artifactId>spring-context-support</artifactId>
  167. </dependency>
  168. <!--velocity代码生成使用模板 -->
  169. <dependency>
  170. <groupId>org.apache.velocity</groupId>
  171. <artifactId>velocity</artifactId>
  172. <version>${velocity.version}</version>
  173. </dependency>
  174. <!--验证码 -->
  175. <dependency>
  176. <groupId>com.github.penggle</groupId>
  177. <artifactId>kaptcha</artifactId>
  178. <version>${kaptcha.version}</version>
  179. <exclusions>
  180. <exclusion>
  181. <artifactId>javax.servlet-api</artifactId>
  182. <groupId>javax.servlet</groupId>
  183. </exclusion>
  184. </exclusions>
  185. </dependency>
  186. <!-- swagger2-->
  187. <dependency>
  188. <groupId>io.springfox</groupId>
  189. <artifactId>springfox-swagger2</artifactId>
  190. <version>${swagger.version}</version>
  191. <exclusions>
  192. <exclusion>
  193. <groupId>io.swagger</groupId>
  194. <artifactId>swagger-annotations</artifactId>
  195. </exclusion>
  196. <exclusion>
  197. <groupId>io.swagger</groupId>
  198. <artifactId>swagger-models</artifactId>
  199. </exclusion>
  200. </exclusions>
  201. </dependency>
  202. <!--防止进入swagger页面报类型转换错误,排除2.9.2中的引用,手动增加1.5.21版本-->
  203. <dependency>
  204. <groupId>io.swagger</groupId>
  205. <artifactId>swagger-annotations</artifactId>
  206. <version>1.5.21</version>
  207. </dependency>
  208. <dependency>
  209. <groupId>io.swagger</groupId>
  210. <artifactId>swagger-models</artifactId>
  211. <version>1.5.21</version>
  212. </dependency>
  213. <!-- swagger2-UI-->
  214. <dependency>
  215. <groupId>io.springfox</groupId>
  216. <artifactId>springfox-swagger-ui</artifactId>
  217. <version>${swagger.version}</version>
  218. </dependency>
  219. <!-- 获取系统信息 -->
  220. <dependency>
  221. <groupId>com.github.oshi</groupId>
  222. <artifactId>oshi-core</artifactId>
  223. <version>${oshi.version}</version>
  224. </dependency>
  225. <dependency>
  226. <groupId>net.java.dev.jna</groupId>
  227. <artifactId>jna</artifactId>
  228. </dependency>
  229. <dependency>
  230. <groupId>net.java.dev.jna</groupId>
  231. <artifactId>jna-platform</artifactId>
  232. </dependency>
  233. <!-- HTML解析器 -->
  234. <dependency>
  235. <groupId>org.jsoup</groupId>
  236. <artifactId>jsoup</artifactId>
  237. <version>${jsoup.version}</version>
  238. </dependency>
  239. <!-- excel工具 -->
  240. <dependency>
  241. <groupId>org.apache.poi</groupId>
  242. <artifactId>poi-ooxml</artifactId>
  243. <version>${poi.version}</version>
  244. </dependency>
  245. <!--lombok插件-->
  246. <dependency>
  247. <groupId>org.projectlombok</groupId>
  248. <artifactId>lombok</artifactId>
  249. <optional>true</optional>
  250. </dependency>
  251. <dependency>
  252. <groupId>org.springframework.boot</groupId>
  253. <artifactId>spring-boot-configuration-processor</artifactId>
  254. <optional>true</optional>
  255. </dependency>
  256. <dependency>
  257. <groupId>org.springframework.boot</groupId>
  258. <artifactId>spring-boot-actuator</artifactId>
  259. </dependency>
  260. <dependency>
  261. <groupId>org.springframework.boot</groupId>
  262. <artifactId>spring-boot-starter-actuator</artifactId>
  263. </dependency>
  264. <dependency>
  265. <groupId>org.springframework.boot</groupId>
  266. <artifactId>spring-boot-starter-logging</artifactId>
  267. </dependency>
  268. <dependency>
  269. <groupId>com.google.code.gson</groupId>
  270. <artifactId>gson</artifactId>
  271. <version>2.8.5</version>
  272. </dependency>
  273. <!-- 七牛 -->
  274. <dependency>
  275. <groupId>com.qiniu</groupId>
  276. <artifactId>qiniu-java-sdk</artifactId>
  277. <version>7.2.8</version>
  278. </dependency>
  279. <!-- ================================== httpclient 开始 ================================== -->
  280. <dependency>
  281. <groupId>org.apache.httpcomponents</groupId>
  282. <artifactId>httpclient</artifactId>
  283. </dependency>
  284. <dependency>
  285. <groupId>org.apache.httpcomponents</groupId>
  286. <artifactId>httpmime</artifactId>
  287. </dependency>
  288. <!-- ================================== httpclient 结束 ================================== -->
  289. <dependency>
  290. <groupId>oro</groupId>
  291. <artifactId>oro</artifactId>
  292. <version>2.0.8</version>
  293. </dependency>
  294. <dependency>
  295. <groupId>com.squareup.okhttp3</groupId>
  296. <artifactId>okhttp</artifactId>
  297. <version>3.14.2</version>
  298. </dependency>
  299. <dependency>
  300. <groupId>com.squareup.okhttp3</groupId>
  301. <artifactId>logging-interceptor</artifactId>
  302. <version>3.14.2</version>
  303. </dependency>
  304. <dependency>
  305. <groupId>me.zhyd.oauth</groupId>
  306. <artifactId>JustAuth</artifactId>
  307. <version>1.7.1</version>
  308. </dependency>
  309. <dependency>
  310. <groupId>org.lionsoul</groupId>
  311. <artifactId>ip2region</artifactId>
  312. <version>${ip2region.version}</version>
  313. </dependency>
  314. <dependency>
  315. <groupId>com.github.abel533</groupId>
  316. <artifactId>ECharts</artifactId>
  317. <version>3.0.0.6</version>
  318. </dependency>
  319. <dependency>
  320. <groupId>cn.hutool</groupId>
  321. <artifactId>hutool-all</artifactId>
  322. <version>4.5.17</version>
  323. </dependency>
  324. <dependency>
  325. <groupId>Pingplusplus</groupId>
  326. <artifactId>pingpp-java</artifactId>
  327. <version>2.3.8</version>
  328. <type>jar</type>
  329. </dependency>
  330. </dependencies>
  331. <build>
  332. <finalName>xbd-admin</finalName>
  333. <plugins>
  334. <plugin>
  335. <groupId>org.springframework.boot</groupId>
  336. <artifactId>spring-boot-maven-plugin</artifactId>
  337. <configuration>
  338. <fork>true</fork> <!-- 如果没有该配置,devtools不会生效 -->
  339. </configuration>
  340. </plugin>
  341. </plugins>
  342. </build>
  343. <repositories>
  344. <!--阿里云主仓库,代理了maven central和jcenter仓库-->
  345. <repository>
  346. <id>aliyun</id>
  347. <name>aliyun</name>
  348. <url>https://maven.aliyun.com/repository/public</url>
  349. <releases>
  350. <enabled>true</enabled>
  351. </releases>
  352. <snapshots>
  353. <enabled>false</enabled>
  354. </snapshots>
  355. </repository>
  356. <!--阿里云代理Spring 官方仓库-->
  357. <repository>
  358. <id>spring-milestones</id>
  359. <name>Spring Milestones</name>
  360. <url>https://maven.aliyun.com/repository/spring</url>
  361. <releases>
  362. <enabled>true</enabled>
  363. </releases>
  364. <snapshots>
  365. <enabled>false</enabled>
  366. </snapshots>
  367. </repository>
  368. <repository>
  369. <id>sonatype-nexus-snapshots</id>
  370. <name>Sonatype Nexus Snapshots</name>
  371. <url>https://oss.sonatype.org/content/repositories/snapshots/</url>
  372. <snapshots>
  373. <enabled>true</enabled>
  374. </snapshots>
  375. <releases>
  376. <enabled>false</enabled>
  377. </releases>
  378. </repository>
  379. </repositories>
  380. <pluginRepositories>
  381. <pluginRepository>
  382. <id>public</id>
  383. <name>aliyun nexus</name>
  384. <url>http://maven.aliyun.com/nexus/content/groups/public/</url>
  385. <releases>
  386. <enabled>true</enabled>
  387. </releases>
  388. <snapshots>
  389. <enabled>false</enabled>
  390. </snapshots>
  391. </pluginRepository>
  392. </pluginRepositories>
  393. </project>