pom.xml 9.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <project xmlns="http://maven.apache.org/POM/4.0.0"
  3. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  4. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  5. <modelVersion>4.0.0</modelVersion>
  6. <groupId>com.4dkankan.api.common</groupId>
  7. <artifactId>4dkankan-api-common</artifactId>
  8. <version>1.0-SNAPSHOT</version>
  9. <packaging>jar</packaging>
  10. <properties>
  11. <java.version>1.8</java.version>
  12. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  13. <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
  14. <maven-surefire-plugin.version>2.19.1</maven-surefire-plugin.version>
  15. </properties>
  16. <parent>
  17. <groupId>org.springframework.boot</groupId>
  18. <artifactId>spring-boot-starter-parent</artifactId>
  19. <version>2.2.5.RELEASE</version>
  20. <relativePath/> <!-- lookup parent from repository -->
  21. </parent>
  22. <dependencies>
  23. <dependency>
  24. <groupId>org.springframework.boot</groupId>
  25. <artifactId>spring-boot-starter</artifactId>
  26. <exclusions>
  27. <exclusion>
  28. <groupId>org.springframework.boot</groupId>
  29. <artifactId>spring-boot-starter-logging</artifactId>
  30. </exclusion>
  31. <exclusion>
  32. <groupId>ch.qos.logback</groupId>
  33. <artifactId>logback-classic</artifactId>
  34. </exclusion>
  35. <exclusion>
  36. <groupId>ch.qos.logback</groupId>
  37. <artifactId>logback-core</artifactId>
  38. </exclusion>
  39. </exclusions>
  40. </dependency>
  41. <dependency>
  42. <groupId>org.springframework.boot</groupId>
  43. <artifactId>spring-boot-starter-web</artifactId>
  44. <!-- <scope>compile</scope>-->
  45. <exclusions>
  46. <exclusion>
  47. <groupId>org.springframework.boot</groupId>
  48. <artifactId>spring-boot-starter</artifactId>
  49. </exclusion>
  50. <exclusion>
  51. <groupId>org.springframework.boot</groupId>
  52. <artifactId>spring-boot-starter-logging</artifactId>
  53. </exclusion>
  54. <exclusion>
  55. <groupId>ch.qos.logback</groupId>
  56. <artifactId>logback-classic</artifactId>
  57. </exclusion>
  58. <exclusion>
  59. <groupId>ch.qos.logback</groupId>
  60. <artifactId>logback-core</artifactId>
  61. </exclusion>
  62. <exclusion>
  63. <groupId>org.springframework.boot</groupId>
  64. <artifactId>spring-boot-starter-tomcat</artifactId>
  65. </exclusion>
  66. <exclusion>
  67. <groupId>org.springframework.boot</groupId>
  68. <artifactId>spring-boot-starter</artifactId>
  69. </exclusion>
  70. </exclusions>
  71. </dependency>
  72. <dependency>
  73. <groupId>commons-io</groupId>
  74. <artifactId>commons-io</artifactId>
  75. <version>2.5</version>
  76. </dependency>
  77. <dependency>
  78. <groupId>org.springframework.boot</groupId>
  79. <artifactId>spring-boot-starter-log4j2</artifactId>
  80. </dependency>
  81. <dependency>
  82. <groupId>org.projectlombok</groupId>
  83. <artifactId>lombok</artifactId>
  84. </dependency>
  85. <dependency>
  86. <groupId>com.aliyun.oss</groupId>
  87. <artifactId>aliyun-sdk-oss</artifactId>
  88. <version>3.8.0</version>
  89. </dependency>
  90. <dependency>
  91. <groupId>org.apache.ant</groupId>
  92. <artifactId>ant</artifactId>
  93. <version>1.8.2</version>
  94. </dependency>
  95. <dependency>
  96. <groupId>com.alibaba.boot</groupId>
  97. <artifactId>nacos-config-spring-boot-starter</artifactId>
  98. <version>0.2.6</version>
  99. <exclusions>
  100. <exclusion>
  101. <groupId>commons-io</groupId>
  102. <artifactId>commons-io</artifactId>
  103. </exclusion>
  104. </exclusions>
  105. </dependency>
  106. <dependency>
  107. <groupId>com.alibaba.boot</groupId>
  108. <artifactId>nacos-discovery-spring-boot-starter</artifactId>
  109. <version>0.2.6</version>
  110. <exclusions>
  111. <exclusion>
  112. <groupId>commons-io</groupId>
  113. <artifactId>commons-io</artifactId>
  114. </exclusion>
  115. </exclusions>
  116. </dependency>
  117. <!-- https://mvnrepository.com/artifact/javax.servlet/javax.servlet-api -->
  118. <dependency>
  119. <groupId>javax.servlet</groupId>
  120. <artifactId>javax.servlet-api</artifactId>
  121. <version>4.0.0</version>
  122. <scope>provided</scope>
  123. </dependency>
  124. <!--devtools热部署-->
  125. <dependency>
  126. <groupId>org.springframework.boot</groupId>
  127. <artifactId>spring-boot-devtools</artifactId>
  128. <optional>true</optional>
  129. <scope>true</scope>
  130. </dependency>
  131. <!--内置的tomcat容器-->
  132. <dependency>
  133. <groupId>org.springframework.boot</groupId>
  134. <artifactId>spring-boot-starter-tomcat</artifactId>
  135. <!-- <scope>provided</scope>-->
  136. <exclusions>
  137. <exclusion>
  138. <groupId>org.apache.tomcat.embed</groupId>
  139. <artifactId>tomcat-embed-websocket</artifactId>
  140. </exclusion>
  141. </exclusions>
  142. </dependency>
  143. <dependency>
  144. <groupId>org.mybatis.spring.boot</groupId>
  145. <artifactId>mybatis-spring-boot-starter</artifactId>
  146. <version>2.1.1</version>
  147. <exclusions>
  148. <exclusion>
  149. <groupId>org.springframework.boot</groupId>
  150. <artifactId>spring-boot-starter</artifactId>
  151. </exclusion>
  152. </exclusions>
  153. </dependency>
  154. <dependency>
  155. <groupId>mysql</groupId>
  156. <artifactId>mysql-connector-java</artifactId>
  157. </dependency>
  158. <dependency>
  159. <groupId>com.baomidou</groupId>
  160. <artifactId>mybatis-plus-boot-starter</artifactId>
  161. <version>3.3.1.tmp</version>
  162. <exclusions>
  163. <exclusion>
  164. <groupId>org.mybatis</groupId>
  165. <artifactId>mybatis</artifactId>
  166. </exclusion>
  167. <exclusion>
  168. <groupId>org.mybatis</groupId>
  169. <artifactId>mybatis-spring</artifactId>
  170. </exclusion>
  171. </exclusions>
  172. </dependency>
  173. <dependency>
  174. <groupId>com.baomidou</groupId>
  175. <artifactId>mybatis-plus-generator</artifactId>
  176. <version>3.3.1.tmp</version>
  177. </dependency>
  178. <dependency>
  179. <groupId>org.apache.velocity</groupId>
  180. <artifactId>velocity-engine-core</artifactId>
  181. <version>2.1</version>
  182. </dependency>
  183. <dependency>
  184. <groupId>org.springframework.boot</groupId>
  185. <artifactId>spring-boot-configuration-processor</artifactId>
  186. <optional>true</optional>
  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.springframework.boot</groupId>
  195. <artifactId>spring-boot-starter</artifactId>
  196. </exclusion>
  197. <exclusion>
  198. <artifactId>slf4j-api</artifactId>
  199. <groupId>org.slf4j</groupId>
  200. </exclusion>
  201. </exclusions>
  202. </dependency>
  203. <dependency>
  204. <groupId>org.mybatis</groupId>
  205. <artifactId>mybatis-typehandlers-jsr310</artifactId>
  206. <version>1.0.1</version>
  207. </dependency>
  208. <dependency>
  209. <groupId>redis.clients</groupId>
  210. <artifactId>jedis</artifactId>
  211. <version>3.1.0</version>
  212. </dependency>
  213. <dependency>
  214. <groupId>org.springframework.data</groupId>
  215. <artifactId>spring-data-redis</artifactId>
  216. <!--这里不使用单独的版本号,使用spring-boot的默认版本号,不然会冲突 -!>
  217. <!- <version>2.1.4.RELEASE</version>-->
  218. </dependency>
  219. </dependencies>
  220. <build>
  221. <plugins>
  222. <plugin>
  223. <groupId>org.apache.maven.plugins</groupId>
  224. <artifactId>maven-compiler-plugin</artifactId>
  225. <configuration>
  226. <source>${java.version}</source>
  227. <target>${java.version}</target>
  228. </configuration>
  229. </plugin>
  230. <plugin>
  231. <groupId>org.apache.maven.plugins</groupId>
  232. <artifactId>maven-surefire-plugin</artifactId>
  233. <version>${maven-surefire-plugin.version}</version>
  234. <configuration>
  235. <skipTests>true</skipTests> <!--默认关掉单元测试 -->
  236. </configuration>
  237. </plugin>
  238. </plugins>
  239. </build>
  240. </project>