pom.xml 9.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260
  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. <parent>
  5. <artifactId>dcp</artifactId>
  6. <groupId>com.geidco</groupId>
  7. <version>1.0-SNAPSHOT</version>
  8. </parent>
  9. <modelVersion>4.0.0</modelVersion>
  10. <artifactId>dcp-customer-service</artifactId>
  11. <name>dcp-customer-service</name>
  12. <!-- FIXME change it to the project's website -->
  13. <url>http://www.example.com</url>
  14. <properties>
  15. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  16. <maven.compiler.source>1.8</maven.compiler.source>
  17. <maven.compiler.target>1.8</maven.compiler.target>
  18. </properties>
  19. <dependencies>
  20. <dependency>
  21. <groupId>com.google.code.gson</groupId>
  22. <artifactId>gson</artifactId>
  23. <version>2.8.3</version>
  24. </dependency>
  25. <dependency>
  26. <groupId>net.sf.json-lib</groupId>
  27. <artifactId>json-lib</artifactId>
  28. <version>2.4</version>
  29. <classifier>jdk15</classifier>
  30. </dependency>
  31. <dependency>
  32. <groupId>org.springframework.cloud</groupId>
  33. <artifactId>spring-cloud-starter-netflix-eureka-client</artifactId>
  34. <exclusions>
  35. <exclusion>
  36. <groupId>org.apache.logging.log4j</groupId>
  37. <artifactId>log4j-to-slf4j</artifactId>
  38. </exclusion>
  39. <exclusion>
  40. <groupId>org.apache.logging.log4j</groupId>
  41. <artifactId>log4j-api</artifactId>
  42. </exclusion>
  43. </exclusions>
  44. </dependency>
  45. <dependency>
  46. <groupId>org.springframework.boot</groupId>
  47. <artifactId>spring-boot-starter-actuator</artifactId>
  48. <exclusions>
  49. <exclusion>
  50. <groupId>org.apache.logging.log4j</groupId>
  51. <artifactId>log4j-to-slf4j</artifactId>
  52. </exclusion>
  53. <exclusion>
  54. <groupId>org.apache.logging.log4j</groupId>
  55. <artifactId>log4j-api</artifactId>
  56. </exclusion>
  57. </exclusions>
  58. </dependency>
  59. <dependency>
  60. <groupId>org.springframework.cloud</groupId>
  61. <artifactId>spring-cloud-starter-openfeign</artifactId>
  62. <exclusions>
  63. <exclusion>
  64. <groupId>org.apache.logging.log4j</groupId>
  65. <artifactId>log4j-to-slf4j</artifactId>
  66. </exclusion>
  67. <exclusion>
  68. <groupId>org.apache.logging.log4j</groupId>
  69. <artifactId>log4j-api</artifactId>
  70. </exclusion>
  71. </exclusions>
  72. </dependency>
  73. <dependency>
  74. <groupId>org.springframework.boot</groupId>
  75. <artifactId>spring-boot-starter-test</artifactId>
  76. <exclusions>
  77. <exclusion>
  78. <groupId>org.apache.logging.log4j</groupId>
  79. <artifactId>log4j-to-slf4j</artifactId>
  80. </exclusion>
  81. <exclusion>
  82. <groupId>org.apache.logging.log4j</groupId>
  83. <artifactId>log4j-api</artifactId>
  84. </exclusion>
  85. </exclusions>
  86. <scope>test</scope>
  87. </dependency>
  88. <dependency>
  89. <groupId>org.springframework.boot</groupId>
  90. <artifactId>spring-boot-starter-websocket</artifactId>
  91. <exclusions>
  92. <exclusion>
  93. <groupId>org.apache.logging.log4j</groupId>
  94. <artifactId>log4j-to-slf4j</artifactId>
  95. </exclusion>
  96. <exclusion>
  97. <groupId>org.apache.logging.log4j</groupId>
  98. <artifactId>log4j-api</artifactId>
  99. </exclusion>
  100. </exclusions>
  101. </dependency>
  102. <dependency>
  103. <groupId>org.springframework.boot</groupId>
  104. <artifactId>spring-boot-starter-web</artifactId>
  105. <exclusions>
  106. <exclusion>
  107. <groupId>org.apache.logging.log4j</groupId>
  108. <artifactId>log4j-to-slf4j</artifactId>
  109. </exclusion>
  110. <exclusion>
  111. <groupId>org.apache.logging.log4j</groupId>
  112. <artifactId>log4j-api</artifactId>
  113. </exclusion>
  114. </exclusions>
  115. </dependency>
  116. <!-- https://mvnrepository.com/artifact/com.squareup.okhttp3/okhttp -->
  117. <dependency>
  118. <groupId>com.squareup.okhttp3</groupId>
  119. <artifactId>okhttp</artifactId>
  120. <version>3.4.1</version>
  121. </dependency>
  122. <dependency>
  123. <groupId>org.springframework.cloud</groupId>
  124. <artifactId>spring-cloud-starter-netflix-hystrix</artifactId>
  125. </dependency>
  126. <dependency>
  127. <groupId>org.mybatis.spring.boot</groupId>
  128. <artifactId>mybatis-spring-boot-starter</artifactId>
  129. </dependency>
  130. <dependency>
  131. <groupId>mysql</groupId>
  132. <artifactId>mysql-connector-java</artifactId>
  133. <scope>runtime</scope>
  134. </dependency>
  135. <!-- alibaba的druid数据库连接池 -->
  136. <dependency>
  137. <groupId>com.alibaba</groupId>
  138. <artifactId>druid-spring-boot-starter</artifactId>
  139. <exclusions>
  140. <exclusion>
  141. <groupId>org.apache.logging.log4j</groupId>
  142. <artifactId>log4j-to-slf4j</artifactId>
  143. </exclusion>
  144. <exclusion>
  145. <groupId>org.apache.logging.log4j</groupId>
  146. <artifactId>log4j-api</artifactId>
  147. </exclusion>
  148. </exclusions>
  149. </dependency>
  150. <dependency>
  151. <groupId>org.springframework.boot</groupId>
  152. <artifactId>spring-boot-starter-websocket</artifactId>
  153. <exclusions>
  154. <exclusion>
  155. <groupId>org.apache.logging.log4j</groupId>
  156. <artifactId>log4j-to-slf4j</artifactId>
  157. </exclusion>
  158. <exclusion>
  159. <groupId>org.apache.logging.log4j</groupId>
  160. <artifactId>log4j-api</artifactId>
  161. </exclusion>
  162. </exclusions>
  163. </dependency>
  164. <dependency>
  165. <groupId>com.xlkh</groupId>
  166. <artifactId>cloud-platform-common</artifactId>
  167. </dependency>
  168. <dependency>
  169. <groupId>com.geidco</groupId>
  170. <artifactId>dcp-common</artifactId>
  171. <version>1.0-SNAPSHOT</version>
  172. </dependency>
  173. <!-- redis相关依赖包 -->
  174. <dependency>
  175. <groupId>org.springframework.boot</groupId>
  176. <artifactId>spring-boot-starter-data-redis</artifactId>
  177. <exclusions>
  178. <exclusion>
  179. <groupId>org.apache.logging.log4j</groupId>
  180. <artifactId>log4j-to-slf4j</artifactId>
  181. </exclusion>
  182. <exclusion>
  183. <groupId>org.apache.logging.log4j</groupId>
  184. <artifactId>log4j-api</artifactId>
  185. </exclusion>
  186. </exclusions>
  187. </dependency>
  188. <dependency>
  189. <groupId>org.springframework.cloud</groupId>
  190. <artifactId>spring-cloud-starter-oauth2</artifactId>
  191. <exclusions>
  192. <exclusion>
  193. <groupId>org.apache.logging.log4j</groupId>
  194. <artifactId>log4j-to-slf4j</artifactId>
  195. </exclusion>
  196. <exclusion>
  197. <groupId>org.apache.logging.log4j</groupId>
  198. <artifactId>log4j-api</artifactId>
  199. </exclusion>
  200. </exclusions>
  201. </dependency>
  202. <dependency>
  203. <groupId>de.codecentric</groupId>
  204. <artifactId>spring-boot-admin-starter-client</artifactId>
  205. <version>2.0.2</version>
  206. </dependency>
  207. <dependency>
  208. <groupId>org.slf4j</groupId>
  209. <artifactId>slf4j-log4j12</artifactId>
  210. </dependency>
  211. <dependency>
  212. <groupId>com.github.ulisesbocchio</groupId>
  213. <artifactId>jasypt-spring-boot-starter</artifactId>
  214. <version>2.1.1</version>
  215. </dependency>
  216. <!-- https://mvnrepository.com/artifact/org.ansj/ansj_seg -->
  217. <!-- <dependency>-->
  218. <!-- <groupId>org.ansj</groupId>-->
  219. <!-- <artifactId>ansj_seg</artifactId>-->
  220. <!-- <version>5.1.6</version>-->
  221. <!-- </dependency>-->
  222. </dependencies>
  223. <build>
  224. <plugins>
  225. <plugin>
  226. <groupId>org.springframework.boot</groupId>
  227. <artifactId>spring-boot-maven-plugin</artifactId>
  228. <configuration>
  229. <mainClass>com.geidco.dcp.DcpCustomerServiceApplication</mainClass>
  230. <layout>ZIP</layout>
  231. </configuration>
  232. <executions>
  233. <execution>
  234. <goals>
  235. <goal>repackage</goal><!--可以把依赖的包都打包到生成的Jar包中-->
  236. </goals>
  237. </execution>
  238. </executions>
  239. </plugin>
  240. <plugin>
  241. <groupId>org.apache.maven.plugins</groupId>
  242. <artifactId>maven-surefire-plugin</artifactId>
  243. <version>2.4.2</version>
  244. <configuration>
  245. <skipTests>true</skipTests>
  246. </configuration>
  247. </plugin>
  248. </plugins>
  249. </build>
  250. </project>