pom.xml 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362
  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. <parent>
  6. <artifactId>dcp</artifactId>
  7. <groupId>com.geidco</groupId>
  8. <version>1.0-SNAPSHOT</version>
  9. </parent>
  10. <modelVersion>4.0.0</modelVersion>
  11. <artifactId>dcp-usercenter-service</artifactId>
  12. <name>dcp-usercenter-service</name>
  13. <!-- FIXME change it to the project's website -->
  14. <url>http://www.example.com</url>
  15. <properties>
  16. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  17. <maven.compiler.source>1.8</maven.compiler.source>
  18. <maven.compiler.target>1.8</maven.compiler.target>
  19. </properties>
  20. <dependencies>
  21. <dependency>
  22. <groupId>com.github.wxpay</groupId>
  23. <artifactId>wxpay-sdk</artifactId>
  24. <version>0.0.3</version>
  25. </dependency>
  26. <!--微信支付SDK-->
  27. <dependency>
  28. <groupId>com.github.wechatpay-apiv3</groupId>
  29. <artifactId>wechatpay-apache-httpclient</artifactId>
  30. <version>0.3.0</version>
  31. </dependency>
  32. <!-- 生成自定义配置的元数据信息 -->
  33. <dependency>
  34. <groupId>org.springframework.boot</groupId>
  35. <artifactId>spring-boot-configuration-processor</artifactId>
  36. <optional>true</optional>
  37. </dependency>
  38. <!--json处理器-->
  39. <dependency>
  40. <groupId>com.google.code.gson</groupId>
  41. <artifactId>gson</artifactId>
  42. </dependency>
  43. <dependency>
  44. <groupId>org.apache.httpcomponents</groupId>
  45. <artifactId>httpclient</artifactId>
  46. <version>4.5.14</version>
  47. </dependency>
  48. <dependency>
  49. <groupId>org.bouncycastle</groupId>
  50. <artifactId>bcprov-jdk15on</artifactId>
  51. <version>1.54</version>
  52. </dependency>
  53. <dependency>
  54. <groupId>javax.servlet</groupId>
  55. <artifactId>javax.servlet-api</artifactId>
  56. </dependency>
  57. <dependency>
  58. <groupId>org.springframework.boot</groupId>
  59. <artifactId>spring-boot-starter-thymeleaf</artifactId>
  60. </dependency>
  61. <dependency>
  62. <groupId>ognl</groupId>
  63. <artifactId>ognl</artifactId>
  64. <version>3.1.12</version>
  65. </dependency>
  66. <dependency>
  67. <groupId>com.github.pagehelper</groupId>
  68. <artifactId>pagehelper-spring-boot-starter</artifactId>
  69. <version>1.2.5</version>
  70. <exclusions>
  71. <exclusion>
  72. <groupId>org.apache.logging.log4j</groupId>
  73. <artifactId>log4j-to-slf4j</artifactId>
  74. </exclusion>
  75. <exclusion>
  76. <groupId>org.apache.logging.log4j</groupId>
  77. <artifactId>log4j-api</artifactId>
  78. </exclusion>
  79. </exclusions>
  80. </dependency>
  81. <dependency>
  82. <groupId>org.springframework.cloud</groupId>
  83. <artifactId>spring-cloud-starter-netflix-eureka-client</artifactId>
  84. <exclusions>
  85. <exclusion>
  86. <groupId>org.apache.logging.log4j</groupId>
  87. <artifactId>log4j-to-slf4j</artifactId>
  88. </exclusion>
  89. <exclusion>
  90. <groupId>org.apache.logging.log4j</groupId>
  91. <artifactId>log4j-api</artifactId>
  92. </exclusion>
  93. </exclusions>
  94. </dependency>
  95. <dependency>
  96. <groupId>org.springframework.boot</groupId>
  97. <artifactId>spring-boot-starter-actuator</artifactId>
  98. <exclusions>
  99. <exclusion>
  100. <groupId>org.apache.logging.log4j</groupId>
  101. <artifactId>log4j-to-slf4j</artifactId>
  102. </exclusion>
  103. <exclusion>
  104. <groupId>org.apache.logging.log4j</groupId>
  105. <artifactId>log4j-api</artifactId>
  106. </exclusion>
  107. </exclusions>
  108. </dependency>
  109. <dependency>
  110. <groupId>org.springframework.cloud</groupId>
  111. <artifactId>spring-cloud-starter-openfeign</artifactId>
  112. <exclusions>
  113. <exclusion>
  114. <groupId>org.apache.logging.log4j</groupId>
  115. <artifactId>log4j-to-slf4j</artifactId>
  116. </exclusion>
  117. <exclusion>
  118. <groupId>org.apache.logging.log4j</groupId>
  119. <artifactId>log4j-api</artifactId>
  120. </exclusion>
  121. </exclusions>
  122. </dependency>
  123. <dependency>
  124. <groupId>org.springframework.boot</groupId>
  125. <artifactId>spring-boot-starter-test</artifactId>
  126. <scope>test</scope>
  127. <exclusions>
  128. <exclusion>
  129. <groupId>org.apache.logging.log4j</groupId>
  130. <artifactId>log4j-to-slf4j</artifactId>
  131. </exclusion>
  132. <exclusion>
  133. <groupId>org.apache.logging.log4j</groupId>
  134. <artifactId>log4j-api</artifactId>
  135. </exclusion>
  136. </exclusions>
  137. </dependency>
  138. <dependency>
  139. <groupId>org.springframework.boot</groupId>
  140. <artifactId>spring-boot-starter-web</artifactId>
  141. <exclusions>
  142. <exclusion>
  143. <groupId>org.apache.logging.log4j</groupId>
  144. <artifactId>log4j-to-slf4j</artifactId>
  145. </exclusion>
  146. <exclusion>
  147. <groupId>org.apache.logging.log4j</groupId>
  148. <artifactId>log4j-api</artifactId>
  149. </exclusion>
  150. </exclusions>
  151. </dependency>
  152. <!-- https://mvnrepository.com/artifact/com.squareup.okhttp3/okhttp -->
  153. <dependency>
  154. <groupId>com.squareup.okhttp3</groupId>
  155. <artifactId>okhttp</artifactId>
  156. <version>3.4.1</version>
  157. </dependency>
  158. <dependency>
  159. <groupId>org.springframework.cloud</groupId>
  160. <artifactId>spring-cloud-starter-netflix-hystrix</artifactId>
  161. <exclusions>
  162. <exclusion>
  163. <groupId>org.apache.logging.log4j</groupId>
  164. <artifactId>log4j-to-slf4j</artifactId>
  165. </exclusion>
  166. <exclusion>
  167. <groupId>org.apache.logging.log4j</groupId>
  168. <artifactId>log4j-api</artifactId>
  169. </exclusion>
  170. </exclusions>
  171. </dependency>
  172. <dependency>
  173. <groupId>org.mybatis.spring.boot</groupId>
  174. <artifactId>mybatis-spring-boot-starter</artifactId>
  175. <exclusions>
  176. <exclusion>
  177. <groupId>org.apache.logging.log4j</groupId>
  178. <artifactId>log4j-to-slf4j</artifactId>
  179. </exclusion>
  180. <exclusion>
  181. <groupId>org.apache.logging.log4j</groupId>
  182. <artifactId>log4j-api</artifactId>
  183. </exclusion>
  184. </exclusions>
  185. </dependency>
  186. <dependency>
  187. <groupId>mysql</groupId>
  188. <artifactId>mysql-connector-java</artifactId>
  189. <scope>runtime</scope>
  190. </dependency>
  191. <!-- alibaba的druid数据库连接池 -->
  192. <dependency>
  193. <groupId>com.alibaba</groupId>
  194. <artifactId>druid-spring-boot-starter</artifactId>
  195. </dependency>
  196. <dependency>
  197. <groupId>org.springframework.boot</groupId>
  198. <artifactId>spring-boot-starter-websocket</artifactId>
  199. <exclusions>
  200. <exclusion>
  201. <groupId>org.apache.logging.log4j</groupId>
  202. <artifactId>log4j-to-slf4j</artifactId>
  203. </exclusion>
  204. <exclusion>
  205. <groupId>org.apache.logging.log4j</groupId>
  206. <artifactId>log4j-api</artifactId>
  207. </exclusion>
  208. </exclusions>
  209. </dependency>
  210. <dependency>
  211. <groupId>com.xlkh</groupId>
  212. <artifactId>cloud-platform-common</artifactId>
  213. <exclusions>
  214. <exclusion>
  215. <groupId>org.apache.logging.log4j</groupId>
  216. <artifactId>log4j-to-slf4j</artifactId>
  217. </exclusion>
  218. <exclusion>
  219. <groupId>org.apache.logging.log4j</groupId>
  220. <artifactId>log4j-api</artifactId>
  221. </exclusion>
  222. </exclusions>
  223. </dependency>
  224. <dependency>
  225. <groupId>com.geidco</groupId>
  226. <artifactId>dcp-common</artifactId>
  227. <version>1.0-SNAPSHOT</version>
  228. <exclusions>
  229. <exclusion>
  230. <groupId>org.apache.logging.log4j</groupId>
  231. <artifactId>log4j-to-slf4j</artifactId>
  232. </exclusion>
  233. <exclusion>
  234. <groupId>org.apache.logging.log4j</groupId>
  235. <artifactId>log4j-api</artifactId>
  236. </exclusion>
  237. </exclusions>
  238. </dependency>
  239. <!-- redis相关依赖包 -->
  240. <dependency>
  241. <groupId>org.springframework.boot</groupId>
  242. <artifactId>spring-boot-starter-data-redis</artifactId>
  243. <exclusions>
  244. <exclusion>
  245. <groupId>org.apache.logging.log4j</groupId>
  246. <artifactId>log4j-to-slf4j</artifactId>
  247. </exclusion>
  248. <exclusion>
  249. <groupId>org.apache.logging.log4j</groupId>
  250. <artifactId>log4j-api</artifactId>
  251. </exclusion>
  252. </exclusions>
  253. </dependency>
  254. <dependency>
  255. <groupId>org.springframework.cloud</groupId>
  256. <artifactId>spring-cloud-starter-oauth2</artifactId>
  257. <exclusions>
  258. <exclusion>
  259. <groupId>org.apache.logging.log4j</groupId>
  260. <artifactId>log4j-to-slf4j</artifactId>
  261. </exclusion>
  262. <exclusion>
  263. <groupId>org.apache.logging.log4j</groupId>
  264. <artifactId>log4j-api</artifactId>
  265. </exclusion>
  266. </exclusions>
  267. </dependency>
  268. <dependency>
  269. <groupId>de.codecentric</groupId>
  270. <artifactId>spring-boot-admin-starter-client</artifactId>
  271. <version>2.0.2</version>
  272. </dependency>
  273. <dependency>
  274. <groupId>org.slf4j</groupId>
  275. <artifactId>slf4j-log4j12</artifactId>
  276. </dependency>
  277. <dependency>
  278. <groupId>com.github.ulisesbocchio</groupId>
  279. <artifactId>jasypt-spring-boot-starter</artifactId>
  280. <version>2.1.1</version>
  281. </dependency>
  282. <dependency>
  283. <groupId>com.google.code.gson</groupId>
  284. <artifactId>gson</artifactId>
  285. </dependency>
  286. <dependency>
  287. <groupId>com.alipay</groupId>
  288. <artifactId>alipay-sdk</artifactId>
  289. <version>java-20170324180803</version>
  290. <scope>system</scope>
  291. <systemPath>${project.basedir}/src/main/resources/lib/alipay-sdk-java-20170324180803.jar</systemPath>
  292. </dependency>
  293. <dependency>
  294. <groupId>com.alipay</groupId>
  295. <artifactId>alipay-sdk-source</artifactId>
  296. <version>java-20170324180803</version>
  297. <scope>system</scope>
  298. <systemPath>${project.basedir}/src/main/resources/lib/alipay-sdk-source-java-20170324180803.jar</systemPath>
  299. </dependency>
  300. <dependency>
  301. <groupId>org.projectlombok</groupId>
  302. <artifactId>lombok</artifactId>
  303. </dependency>
  304. </dependencies>
  305. <build>
  306. <plugins>
  307. <plugin>
  308. <groupId>org.springframework.boot</groupId>
  309. <artifactId>spring-boot-maven-plugin</artifactId>
  310. <configuration>
  311. <mainClass>com.geidco.dcp.DcpUsercenterServiceApplication</mainClass>
  312. <includeSystemScope>true</includeSystemScope>
  313. <layout>ZIP</layout>
  314. </configuration>
  315. <executions>
  316. <execution>
  317. <goals>
  318. <goal>repackage</goal><!--可以把依赖的包都打包到生成的Jar包中-->
  319. </goals>
  320. </execution>
  321. </executions>
  322. </plugin>
  323. </plugins>
  324. <resources>
  325. <resource>
  326. <directory>src/main/java</directory>
  327. <includes>
  328. <include>**/*.yml</include>
  329. <include>**/*.properties</include>
  330. <include>**/*.xml</include>
  331. <include>**/*.ftl</include>
  332. </includes>
  333. <filtering>false</filtering>
  334. </resource>
  335. <resource>
  336. <directory>src/main/resources</directory>
  337. <includes>
  338. <include>**/*.yml</include>
  339. <include>**/*.properties</include>
  340. <include>**/*.xml</include>
  341. <include>**/*.ftl</include>
  342. <include>**/*.jar</include>
  343. </includes>
  344. <filtering>false</filtering>
  345. </resource>
  346. </resources>
  347. </build>
  348. </project>