pom.xml 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318
  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-operation-service</artifactId>
  11. <name>dcp-operation-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.github.pagehelper</groupId>
  22. <artifactId>pagehelper-spring-boot-starter</artifactId>
  23. <version>1.2.5</version>
  24. </dependency>
  25. <!--发邮件-->
  26. <dependency>
  27. <groupId>org.springframework.boot</groupId>
  28. <artifactId>spring-boot-starter-mail</artifactId>
  29. <version>2.1.0.RELEASE</version>
  30. <exclusions>
  31. <exclusion>
  32. <groupId>org.apache.logging.log4j</groupId>
  33. <artifactId>log4j-to-slf4j</artifactId>
  34. </exclusion>
  35. <exclusion>
  36. <groupId>org.apache.logging.log4j</groupId>
  37. <artifactId>log4j-api</artifactId>
  38. </exclusion>
  39. </exclusions>
  40. </dependency>
  41. <dependency>
  42. <groupId>cn.afterturn</groupId>
  43. <artifactId>easypoi-spring-boot-starter</artifactId>
  44. <version>4.2.0</version>
  45. </dependency>
  46. <dependency>
  47. <groupId>com.google.code.gson</groupId>
  48. <artifactId>gson</artifactId>
  49. <version>2.8.3</version>
  50. </dependency>
  51. <dependency>
  52. <groupId>net.sf.json-lib</groupId>
  53. <artifactId>json-lib</artifactId>
  54. <version>2.4</version>
  55. <classifier>jdk15</classifier>
  56. </dependency>
  57. <dependency>
  58. <groupId>org.springframework.cloud</groupId>
  59. <artifactId>spring-cloud-starter-netflix-eureka-client</artifactId>
  60. <exclusions>
  61. <exclusion>
  62. <groupId>org.apache.logging.log4j</groupId>
  63. <artifactId>log4j-to-slf4j</artifactId>
  64. </exclusion>
  65. <exclusion>
  66. <groupId>org.apache.logging.log4j</groupId>
  67. <artifactId>log4j-api</artifactId>
  68. </exclusion>
  69. </exclusions>
  70. </dependency>
  71. <dependency>
  72. <groupId>org.springframework.boot</groupId>
  73. <artifactId>spring-boot-starter-actuator</artifactId>
  74. <exclusions>
  75. <exclusion>
  76. <groupId>org.apache.logging.log4j</groupId>
  77. <artifactId>log4j-to-slf4j</artifactId>
  78. </exclusion>
  79. <exclusion>
  80. <groupId>org.apache.logging.log4j</groupId>
  81. <artifactId>log4j-api</artifactId>
  82. </exclusion>
  83. </exclusions>
  84. </dependency>
  85. <dependency>
  86. <groupId>org.springframework.cloud</groupId>
  87. <artifactId>spring-cloud-starter-openfeign</artifactId>
  88. <exclusions>
  89. <exclusion>
  90. <groupId>org.apache.logging.log4j</groupId>
  91. <artifactId>log4j-to-slf4j</artifactId>
  92. </exclusion>
  93. <exclusion>
  94. <groupId>org.apache.logging.log4j</groupId>
  95. <artifactId>log4j-api</artifactId>
  96. </exclusion>
  97. </exclusions>
  98. </dependency>
  99. <dependency>
  100. <groupId>org.springframework.boot</groupId>
  101. <artifactId>spring-boot-starter-test</artifactId>
  102. <scope>test</scope>
  103. <exclusions>
  104. <exclusion>
  105. <groupId>org.apache.logging.log4j</groupId>
  106. <artifactId>log4j-to-slf4j</artifactId>
  107. </exclusion>
  108. <exclusion>
  109. <groupId>org.apache.logging.log4j</groupId>
  110. <artifactId>log4j-api</artifactId>
  111. </exclusion>
  112. </exclusions>
  113. </dependency>
  114. <dependency>
  115. <groupId>org.springframework.boot</groupId>
  116. <artifactId>spring-boot-starter-web</artifactId>
  117. <exclusions>
  118. <exclusion>
  119. <groupId>org.apache.logging.log4j</groupId>
  120. <artifactId>log4j-to-slf4j</artifactId>
  121. </exclusion>
  122. <exclusion>
  123. <groupId>org.apache.logging.log4j</groupId>
  124. <artifactId>log4j-api</artifactId>
  125. </exclusion>
  126. </exclusions>
  127. </dependency>
  128. <!-- https://mvnrepository.com/artifact/com.squareup.okhttp3/okhttp -->
  129. <dependency>
  130. <groupId>com.squareup.okhttp3</groupId>
  131. <artifactId>okhttp</artifactId>
  132. <version>3.4.1</version>
  133. </dependency>
  134. <dependency>
  135. <groupId>org.springframework.cloud</groupId>
  136. <artifactId>spring-cloud-starter-netflix-hystrix</artifactId>
  137. <exclusions>
  138. <exclusion>
  139. <groupId>org.apache.logging.log4j</groupId>
  140. <artifactId>log4j-to-slf4j</artifactId>
  141. </exclusion>
  142. <exclusion>
  143. <groupId>org.apache.logging.log4j</groupId>
  144. <artifactId>log4j-api</artifactId>
  145. </exclusion>
  146. </exclusions>
  147. </dependency>
  148. <dependency>
  149. <groupId>org.mybatis.spring.boot</groupId>
  150. <artifactId>mybatis-spring-boot-starter</artifactId>
  151. </dependency>
  152. <dependency>
  153. <groupId>mysql</groupId>
  154. <artifactId>mysql-connector-java</artifactId>
  155. <scope>runtime</scope>
  156. </dependency>
  157. <!-- alibaba的druid数据库连接池 -->
  158. <dependency>
  159. <groupId>com.alibaba</groupId>
  160. <artifactId>druid-spring-boot-starter</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.springframework.boot</groupId>
  174. <artifactId>spring-boot-starter-websocket</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>com.xlkh</groupId>
  188. <artifactId>cloud-platform-common</artifactId>
  189. <exclusions>
  190. <exclusion>
  191. <groupId>org.apache.logging.log4j</groupId>
  192. <artifactId>log4j-to-slf4j</artifactId>
  193. </exclusion>
  194. <exclusion>
  195. <groupId>org.apache.logging.log4j</groupId>
  196. <artifactId>log4j-api</artifactId>
  197. </exclusion>
  198. </exclusions>
  199. </dependency>
  200. <dependency>
  201. <groupId>com.geidco</groupId>
  202. <artifactId>dcp-common</artifactId>
  203. <version>1.0-SNAPSHOT</version>
  204. <exclusions>
  205. <exclusion>
  206. <groupId>org.apache.poi</groupId>
  207. <artifactId>poi-ooxml</artifactId>
  208. </exclusion>
  209. <exclusion>
  210. <groupId>org.apache.poi</groupId>
  211. <artifactId>poi-ooxml-schemas</artifactId>
  212. </exclusion>
  213. <exclusion>
  214. <groupId>org.apache.poi</groupId>
  215. <artifactId>poi-excelant</artifactId>
  216. </exclusion>
  217. <exclusion>
  218. <groupId>org.apache.poi</groupId>
  219. <artifactId>poi-scratchpad</artifactId>
  220. </exclusion>
  221. <exclusion>
  222. <groupId>org.apache.poi</groupId>
  223. <artifactId>poi</artifactId>
  224. </exclusion>
  225. </exclusions>
  226. </dependency>
  227. <!-- redis相关依赖包 -->
  228. <dependency>
  229. <groupId>org.springframework.boot</groupId>
  230. <artifactId>spring-boot-starter-data-redis</artifactId>
  231. <exclusions>
  232. <exclusion>
  233. <groupId>org.apache.logging.log4j</groupId>
  234. <artifactId>log4j-to-slf4j</artifactId>
  235. </exclusion>
  236. <exclusion>
  237. <groupId>org.apache.logging.log4j</groupId>
  238. <artifactId>log4j-api</artifactId>
  239. </exclusion>
  240. </exclusions>
  241. </dependency>
  242. <dependency>
  243. <groupId>org.springframework.cloud</groupId>
  244. <artifactId>spring-cloud-starter-oauth2</artifactId>
  245. <exclusions>
  246. <exclusion>
  247. <groupId>org.apache.logging.log4j</groupId>
  248. <artifactId>log4j-to-slf4j</artifactId>
  249. </exclusion>
  250. <exclusion>
  251. <groupId>org.apache.logging.log4j</groupId>
  252. <artifactId>log4j-api</artifactId>
  253. </exclusion>
  254. </exclusions>
  255. </dependency>
  256. <dependency>
  257. <groupId>de.codecentric</groupId>
  258. <artifactId>spring-boot-admin-starter-client</artifactId>
  259. <version>2.0.2</version>
  260. </dependency>
  261. <dependency>
  262. <groupId>org.slf4j</groupId>
  263. <artifactId>slf4j-log4j12</artifactId>
  264. </dependency>
  265. <dependency>
  266. <groupId>com.github.jsqlparser</groupId>
  267. <artifactId>jsqlparser</artifactId>
  268. <version>1.0</version>
  269. <scope>compile</scope>
  270. </dependency>
  271. <dependency>
  272. <groupId>com.github.ulisesbocchio</groupId>
  273. <artifactId>jasypt-spring-boot-starter</artifactId>
  274. <version>2.1.1</version>
  275. </dependency>
  276. <dependency>
  277. <groupId>org.springframework</groupId>
  278. <artifactId>spring-beans</artifactId>
  279. </dependency>
  280. </dependencies>
  281. <build>
  282. <plugins>
  283. <plugin>
  284. <groupId>org.springframework.boot</groupId>
  285. <artifactId>spring-boot-maven-plugin</artifactId>
  286. <configuration>
  287. <mainClass>com.geidco.dcp.DcpOperationServiceApplication</mainClass>
  288. <layout>ZIP</layout>
  289. </configuration>
  290. <executions>
  291. <execution>
  292. <goals>
  293. <goal>repackage</goal><!--可以把依赖的包都打包到生成的Jar包中-->
  294. </goals>
  295. </execution>
  296. </executions>
  297. </plugin>
  298. <plugin>
  299. <groupId>org.apache.maven.plugins</groupId>
  300. <artifactId>maven-surefire-plugin</artifactId>
  301. <version>2.4.2</version>
  302. <configuration>
  303. <skipTests>true</skipTests>
  304. </configuration>
  305. </plugin>
  306. </plugins>
  307. </build>
  308. </project>