1
0

pom.xml 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266
  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 https://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.2.7.RELEASE</version>
  9. <relativePath/> <!-- lookup parent from repository -->
  10. </parent>
  11. <groupId>com.kexun</groupId>
  12. <artifactId>admin-api</artifactId>
  13. <version>1.0.0</version>
  14. <name>admin-api</name>
  15. <description>后台管理系统API</description>
  16. <properties>
  17. <java.version>1.8</java.version>
  18. <mybatis-plus.version>3.4.1</mybatis-plus.version>
  19. <groovy.version>2.5.6</groovy.version>
  20. </properties>
  21. <dependencies>
  22. <!-- https://mvnrepository.com/artifact/commons-io/commons-io -->
  23. <dependency>
  24. <groupId>commons-io</groupId>
  25. <artifactId>commons-io</artifactId>
  26. <version>2.4</version>
  27. </dependency>
  28. <dependency>
  29. <groupId>org.springframework.boot</groupId>
  30. <artifactId>spring-boot-starter-web</artifactId>
  31. </dependency>
  32. <!--项目公共模块-->
  33. <!--redis相关-->
  34. <dependency>
  35. <groupId>org.springframework.boot</groupId>
  36. <artifactId>spring-boot-starter-data-redis</artifactId>
  37. </dependency>
  38. <!-- https://mvnrepository.com/artifact/commons-io/commons-io -->
  39. <dependency>
  40. <groupId>commons-io</groupId>
  41. <artifactId>commons-io</artifactId>
  42. <version>2.4</version>
  43. </dependency>
  44. <!-- https://mvnrepository.com/artifact/commons-lang/commons-lang -->
  45. <dependency>
  46. <groupId>commons-lang</groupId>
  47. <artifactId>commons-lang</artifactId>
  48. <version>2.6</version>
  49. </dependency>
  50. <dependency>
  51. <groupId>io.protostuff</groupId>
  52. <artifactId>protostuff-core</artifactId>
  53. <version>1.4.0</version>
  54. </dependency>
  55. <dependency>
  56. <groupId>io.protostuff</groupId>
  57. <artifactId>protostuff-runtime</artifactId>
  58. <version>1.4.0</version>
  59. </dependency>
  60. <!--springboot每个都要用-->
  61. <dependency>
  62. <groupId>org.springframework.boot</groupId>
  63. <artifactId>spring-boot-starter</artifactId>
  64. <exclusions>
  65. <exclusion>
  66. <groupId>org.springframework.boot</groupId>
  67. <artifactId>spring-boot-starter-logging</artifactId>
  68. </exclusion>
  69. </exclusions>
  70. </dependency>
  71. <!-- https://mvnrepository.com/artifact/org.springframework.boot/spring-boot-starter-log4j -->
  72. <dependency>
  73. <groupId>org.springframework.boot</groupId>
  74. <artifactId>spring-boot-starter-log4j</artifactId>
  75. <version>1.3.8.RELEASE</version>
  76. </dependency>
  77. <!--aop-->
  78. <dependency>
  79. <groupId>org.springframework.boot</groupId>
  80. <artifactId>spring-boot-starter-aop</artifactId>
  81. </dependency>
  82. <!--mysql-->
  83. <dependency>
  84. <groupId>mysql</groupId>
  85. <artifactId>mysql-connector-java</artifactId>
  86. <scope>runtime</scope>
  87. <version>5.1.47</version>
  88. </dependency>
  89. <dependency>
  90. <groupId>commons-beanutils</groupId>
  91. <artifactId>commons-beanutils</artifactId>
  92. <version>1.9.4</version>
  93. </dependency>
  94. <!--添加Swagger依赖 -->
  95. <dependency>
  96. <groupId>io.springfox</groupId>
  97. <artifactId>springfox-boot-starter</artifactId>
  98. <version>3.0.0</version>
  99. </dependency>
  100. <dependency>
  101. <groupId>org.springframework</groupId>
  102. <artifactId>spring-aspects</artifactId>
  103. <version>5.1.7.RELEASE</version>
  104. </dependency>
  105. <!--lombok-->
  106. <dependency>
  107. <groupId>org.projectlombok</groupId>
  108. <artifactId>lombok</artifactId>
  109. <version>1.18.20</version>
  110. </dependency>
  111. <!--mybatis-plus-->
  112. <dependency>
  113. <groupId>com.baomidou</groupId>
  114. <artifactId>mybatis-plus-boot-starter</artifactId>
  115. <version>${mybatis-plus.version}</version>
  116. </dependency>
  117. <dependency>
  118. <groupId>com.baomidou</groupId>
  119. <artifactId>mybatis-plus-generator</artifactId>
  120. <version>${mybatis-plus.version}</version>
  121. </dependency>
  122. <dependency>
  123. <groupId>org.freemarker</groupId>
  124. <artifactId>freemarker</artifactId>
  125. <version>2.3.28</version>
  126. </dependency>
  127. <dependency>
  128. <groupId>org.dom4j</groupId>
  129. <artifactId>dom4j</artifactId>
  130. <version>2.1.4</version>
  131. </dependency>
  132. <!--数据源-->
  133. <dependency>
  134. <groupId>com.alibaba</groupId>
  135. <artifactId>druid</artifactId>
  136. <version>1.1.12</version>
  137. </dependency>
  138. <!--日志-->
  139. <dependency>
  140. <groupId>log4j</groupId>
  141. <artifactId>log4j</artifactId>
  142. <version>1.2.17</version>
  143. </dependency>
  144. <!--json处理工具-->
  145. <dependency>
  146. <groupId>com.alibaba</groupId>
  147. <artifactId>fastjson</artifactId>
  148. <version>1.2.69</version>
  149. </dependency>
  150. <dependency>
  151. <groupId>commons-codec</groupId>
  152. <artifactId>commons-codec</artifactId>
  153. <version>1.10</version>
  154. </dependency>
  155. <!--http客户端-->
  156. <dependency>
  157. <groupId>org.apache.httpcomponents</groupId>
  158. <artifactId>httpclient</artifactId>
  159. <version>4.5.10</version>
  160. </dependency>
  161. <dependency>
  162. <groupId>org.apache.httpcomponents</groupId>
  163. <artifactId>httpmime</artifactId>
  164. <version>4.5</version>
  165. </dependency>
  166. <!--分页插件-->
  167. <dependency>
  168. <groupId>com.github.pagehelper</groupId>
  169. <artifactId>pagehelper-spring-boot-starter</artifactId>
  170. <version>1.2.5</version>
  171. <!--一定到排除,不然报错-->
  172. <exclusions>
  173. <exclusion>
  174. <groupId>org.mybatis</groupId>
  175. <artifactId>mybatis</artifactId>
  176. </exclusion>
  177. <exclusion>
  178. <groupId>org.mybatis</groupId>
  179. <artifactId>mybatis-spring</artifactId>
  180. </exclusion>
  181. </exclusions>
  182. </dependency>
  183. <dependency>
  184. <groupId>org.springframework.boot</groupId>
  185. <artifactId>spring-boot-starter-test</artifactId>
  186. <scope>test</scope>
  187. <exclusions>
  188. <exclusion>
  189. <groupId>org.junit.vintage</groupId>
  190. <artifactId>junit-vintage-engine</artifactId>
  191. </exclusion>
  192. </exclusions>
  193. </dependency>
  194. <dependency>
  195. <groupId>net.minidev</groupId>
  196. <artifactId>json-smart</artifactId>
  197. <version>2.3</version>
  198. <scope>compile</scope>
  199. </dependency>
  200. <dependency>
  201. <groupId>org.springframework.boot</groupId>
  202. <artifactId>spring-boot-starter-web</artifactId>
  203. </dependency>
  204. <dependency>
  205. <groupId>org.springframework.boot</groupId>
  206. <artifactId>spring-boot-devtools</artifactId>
  207. <scope>runtime</scope>
  208. <optional>true</optional>
  209. </dependency>
  210. <dependency>
  211. <groupId>org.springframework.boot</groupId>
  212. <artifactId>spring-boot-configuration-processor</artifactId>
  213. <optional>true</optional>
  214. </dependency>
  215. <dependency>
  216. <groupId>org.projectlombok</groupId>
  217. <artifactId>lombok</artifactId>
  218. <optional>true</optional>
  219. </dependency>
  220. <dependency>
  221. <groupId>org.springframework.boot</groupId>
  222. <artifactId>spring-boot-starter-test</artifactId>
  223. <scope>test</scope>
  224. <exclusions>
  225. <exclusion>
  226. <groupId>org.junit.vintage</groupId>
  227. <artifactId>junit-vintage-engine</artifactId>
  228. </exclusion>
  229. </exclusions>
  230. </dependency>
  231. <!-- https://mvnrepository.com/artifact/com.alibaba/fastjson -->
  232. <!-- https://mvnrepository.com/artifact/com.googlecode.juniversalchardet/juniversalchardet -->
  233. <dependency>
  234. <groupId>com.googlecode.juniversalchardet</groupId>
  235. <artifactId>juniversalchardet</artifactId>
  236. <version>1.0.3</version>
  237. </dependency>
  238. <!-- xxl-job依赖 -->
  239. <dependency>
  240. <groupId>com.xuxueli</groupId>
  241. <artifactId>xxl-job-core</artifactId>
  242. <version>2.3.1</version>
  243. </dependency>
  244. <dependency>
  245. <groupId>commons-io</groupId>
  246. <artifactId>commons-io</artifactId>
  247. <version>2.11.0</version>
  248. </dependency>
  249. <!-- https://mvnrepository.com/artifact/joda-time/joda-time -->
  250. <dependency>
  251. <groupId>joda-time</groupId>
  252. <artifactId>joda-time</artifactId>
  253. <version>2.12.5</version>
  254. </dependency>
  255. </dependencies>
  256. <build>
  257. <plugins>
  258. <plugin>
  259. <groupId>org.springframework.boot</groupId>
  260. <artifactId>spring-boot-maven-plugin</artifactId>
  261. </plugin>
  262. </plugins>
  263. </build>
  264. </project>