pom.xml 10 KB

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