pom.xml 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310
  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.1.5.RELEASE</version>
  9. <relativePath/> <!-- lookup parent from repository -->
  10. </parent>
  11. <groupId>com.jkcredit.invoice.hub</groupId>
  12. <artifactId>invoice-hub</artifactId>
  13. <version>1.0</version>
  14. <name>invoice-hub</name>
  15. <description>Demo project for Spring Boot</description>
  16. <properties>
  17. <java.version>1.8</java.version>
  18. <fluent-validator.version>1.0.9</fluent-validator.version>
  19. <mybatis-plus.version>3.1.0</mybatis-plus.version>
  20. <model-mapper.version>2.3.0</model-mapper.version>
  21. <zalando.version>0.23.0</zalando.version>
  22. <fastjson.version>1.2.51</fastjson.version>
  23. <etc.commons.logging.version>1.2</etc.commons.logging.version>
  24. <etc.httpclient.version>4.5</etc.httpclient.version>
  25. <etc.httpcore.version>4.4</etc.httpcore.version>
  26. <etc.httpmime.version>4.5</etc.httpmime.version>
  27. <jackson.annotations.version>2.8</jackson.annotations.version>
  28. <jackson.core.version>2.8</jackson.core.version>
  29. <jackson.databind.version>2.8</jackson.databind.version>
  30. <jackson.datatype.version>2.8</jackson.datatype.version>
  31. <sdk.common.version>1.0</sdk.common.version>
  32. <waybill.protocol.version>1.3.9</waybill.protocol.version>
  33. <slf4j.api.version>1.7</slf4j.api.version>
  34. <validation.api.version>1.1.0</validation.api.version>
  35. <jsonwebtoken.version>0.9.0</jsonwebtoken.version>
  36. <commons.beanutils.version>1.9.4</commons.beanutils.version>
  37. <mybatis.starter.version>2.1.1</mybatis.starter.version>
  38. <sdk.b2b.protocol.version>1.5</sdk.b2b.protocol.version>
  39. <xxl.job.core.version>2.1.2</xxl.job.core.version>
  40. </properties>
  41. <dependencies>
  42. <dependency>
  43. <groupId>org.springframework.boot</groupId>
  44. <artifactId>spring-boot-starter-mail</artifactId>
  45. </dependency>
  46. <dependency>
  47. <groupId>org.springframework.boot</groupId>
  48. <artifactId>spring-boot-starter-amqp</artifactId>
  49. </dependency>
  50. <dependency>
  51. <groupId>org.springframework.boot</groupId>
  52. <artifactId>spring-boot-starter-data-jpa</artifactId>
  53. </dependency>
  54. <dependency>
  55. <groupId>org.springframework.boot</groupId>
  56. <artifactId>spring-boot-starter-data-redis</artifactId>
  57. <version>2.1.3.RELEASE</version>
  58. </dependency>
  59. <dependency>
  60. <groupId>org.springframework.boot</groupId>
  61. <artifactId>spring-boot-starter-quartz</artifactId>
  62. </dependency>
  63. <dependency>
  64. <groupId>org.springframework.boot</groupId>
  65. <artifactId>spring-boot-starter-security</artifactId>
  66. </dependency>
  67. <dependency>
  68. <groupId>org.springframework.boot</groupId>
  69. <artifactId>spring-boot-starter-thymeleaf</artifactId>
  70. </dependency>
  71. <dependency>
  72. <groupId>org.springframework.boot</groupId>
  73. <artifactId>spring-boot-starter-web</artifactId>
  74. </dependency>
  75. <dependency>
  76. <groupId>org.mybatis.spring.boot</groupId>
  77. <artifactId>mybatis-spring-boot-starter</artifactId>
  78. <version>${mybatis.starter.version}</version>
  79. </dependency>
  80. <dependency>
  81. <groupId>mysql</groupId>
  82. <artifactId>mysql-connector-java</artifactId>
  83. <scope>runtime</scope>
  84. </dependency>
  85. <dependency>
  86. <groupId>org.springframework.boot</groupId>
  87. <artifactId>spring-boot-configuration-processor</artifactId>
  88. <optional>true</optional>
  89. </dependency>
  90. <dependency>
  91. <groupId>org.projectlombok</groupId>
  92. <artifactId>lombok</artifactId>
  93. <optional>true</optional>
  94. </dependency>
  95. <dependency>
  96. <groupId>org.springframework.boot</groupId>
  97. <artifactId>spring-boot-starter-test</artifactId>
  98. <scope>test</scope>
  99. <exclusions>
  100. <exclusion>
  101. <groupId>org.junit.vintage</groupId>
  102. <artifactId>junit-vintage-engine</artifactId>
  103. </exclusion>
  104. </exclusions>
  105. </dependency>
  106. <dependency>
  107. <groupId>org.springframework.amqp</groupId>
  108. <artifactId>spring-rabbit-test</artifactId>
  109. <scope>test</scope>
  110. </dependency>
  111. <dependency>
  112. <groupId>org.springframework.security</groupId>
  113. <artifactId>spring-security-test</artifactId>
  114. <scope>test</scope>
  115. </dependency>
  116. <dependency>
  117. <groupId>com.baidu.unbiz</groupId>
  118. <artifactId>fluent-validator-jsr303</artifactId>
  119. <version>${fluent-validator.version}</version>
  120. </dependency>
  121. <dependency>
  122. <groupId>org.modelmapper</groupId>
  123. <artifactId>modelmapper</artifactId>
  124. <version>${model-mapper.version}</version>
  125. </dependency>
  126. <dependency>
  127. <groupId>com.baomidou</groupId>
  128. <artifactId>mybatis-plus-boot-starter</artifactId>
  129. <version>${mybatis-plus.version}</version>
  130. </dependency>
  131. <dependency>
  132. <groupId>org.zalando</groupId>
  133. <artifactId>problem-spring-web</artifactId>
  134. <version>${zalando.version}</version>
  135. </dependency>
  136. <dependency>
  137. <groupId>com.alibaba</groupId>
  138. <artifactId>fastjson</artifactId>
  139. <version>${fastjson.version}</version>
  140. </dependency>
  141. <dependency>
  142. <groupId>io.jsonwebtoken</groupId>
  143. <artifactId>jjwt</artifactId>
  144. <version>${jsonwebtoken.version}</version>
  145. </dependency>
  146. <dependency>
  147. <groupId>commons-beanutils</groupId>
  148. <artifactId>commons-beanutils</artifactId>
  149. <version>${commons.beanutils.version}</version>
  150. </dependency>
  151. <!-- 引入第三方JAR-->
  152. <dependency>
  153. <groupId>etc.commons.logging</groupId>
  154. <artifactId>etc-commons-logging</artifactId>
  155. <version>${etc.commons.logging.version}</version>
  156. <scope>system</scope>
  157. <systemPath>${project.basedir}/src/main/resources/lib/etc-commons-logging-1.2.jar</systemPath>
  158. </dependency>
  159. <dependency>
  160. <groupId>etc.httpclient</groupId>
  161. <artifactId>etc-httpclient</artifactId>
  162. <version>${etc.httpclient.version}</version>
  163. <scope>system</scope>
  164. <systemPath>${project.basedir}/src/main/resources/lib/etc-httpclient-4.5.jar</systemPath>
  165. </dependency>
  166. <dependency>
  167. <groupId>etc.httpcore</groupId>
  168. <artifactId>etc-httpcore</artifactId>
  169. <version>${etc.httpcore.version}</version>
  170. <scope>system</scope>
  171. <systemPath>${project.basedir}/src/main/resources/lib/etc-httpcore-4.4.jar</systemPath>
  172. </dependency>
  173. <dependency>
  174. <groupId>etc.httpmime</groupId>
  175. <artifactId>etc-httpmime</artifactId>
  176. <version>${etc.httpmime.version}</version>
  177. <scope>system</scope>
  178. <systemPath>${project.basedir}/src/main/resources/lib/etc-httpmime-4.5.jar</systemPath>
  179. </dependency>
  180. <dependency>
  181. <groupId>etc.jackson.annotations</groupId>
  182. <artifactId>etc-jackson-annotations</artifactId>
  183. <version>${jackson.annotations.version}</version>
  184. <scope>system</scope>
  185. <systemPath>${project.basedir}/src/main/resources/lib/etc-jackson-annotations-2.8.jar</systemPath>
  186. </dependency>
  187. <dependency>
  188. <groupId>etc.jackson.core</groupId>
  189. <artifactId>etc-jackson-core</artifactId>
  190. <version>${jackson.core.version}</version>
  191. <scope>system</scope>
  192. <systemPath>${project.basedir}/src/main/resources/lib/etc-jackson-core-2.8.jar</systemPath>
  193. </dependency>
  194. <dependency>
  195. <groupId>etc.jackson.databind</groupId>
  196. <artifactId>etc-jackson-databind</artifactId>
  197. <version>${jackson.databind.version}</version>
  198. <scope>system</scope>
  199. <systemPath>${project.basedir}/src/main/resources/lib/etc-jackson-databind-2.8.jar</systemPath>
  200. </dependency>
  201. <dependency>
  202. <groupId>etc.jackson.datatype.jsr310</groupId>
  203. <artifactId>etc-jackson-datatype-jsr310</artifactId>
  204. <version>${jackson.datatype.version}</version>
  205. <scope>system</scope>
  206. <systemPath>${project.basedir}/src/main/resources/lib/etc-jackson-datatype-jsr310-2.8.jar</systemPath>
  207. </dependency>
  208. <dependency>
  209. <groupId>etc.sdk.common</groupId>
  210. <artifactId>etc-common</artifactId>
  211. <version>${sdk.common.version}</version>
  212. <scope>system</scope>
  213. <systemPath>${project.basedir}/src/main/resources/lib/sdk-common-1.1.jar</systemPath>
  214. </dependency>
  215. <dependency>
  216. <groupId>sdk.waybill.protocol</groupId>
  217. <artifactId>sdk-waybill-protocol</artifactId>
  218. <version>${waybill.protocol.version}</version>
  219. <scope>system</scope>
  220. <systemPath>${project.basedir}/src/main/resources/lib/sdk-waybill-protocol-1.3.10.jar</systemPath>
  221. </dependency>
  222. <dependency>
  223. <groupId>slf4j.api</groupId>
  224. <artifactId>slf4j-api</artifactId>
  225. <version>${slf4j.api.version}</version>
  226. <scope>system</scope>
  227. <systemPath>${project.basedir}/src/main/resources/lib/slf4j-api-1.7.jar</systemPath>
  228. </dependency>
  229. <dependency>
  230. <groupId>validation.api</groupId>
  231. <artifactId>validation-api</artifactId>
  232. <version>${validation.api.version}</version>
  233. <scope>system</scope>
  234. <systemPath>${project.basedir}/src/main/resources/lib/validation-api-1.1.0.Final.jar</systemPath>
  235. </dependency>
  236. <!-- <dependency>-->
  237. <!-- <groupId>sdk.b2b.protocol</groupId>-->
  238. <!-- <artifactId>sdk-b2b-protocol</artifactId>-->
  239. <!-- <version>${sdk.b2b.protocol.version}</version>-->
  240. <!-- <scope>system</scope>-->
  241. <!-- <systemPath>${project.basedir}/src/main/resources/lib/sdk-b2b-protocol-1.5.jar</systemPath>-->
  242. <!-- </dependency>-->
  243. <dependency>
  244. <groupId>com.xuxueli</groupId>
  245. <artifactId>xxl-job-core</artifactId>
  246. <version>${xxl.job.core.version}</version>
  247. </dependency>
  248. </dependencies>
  249. <build>
  250. <plugins>
  251. <plugin>
  252. <groupId>org.springframework.boot</groupId>
  253. <artifactId>spring-boot-maven-plugin</artifactId>
  254. <configuration>
  255. <includeSystemScope>true</includeSystemScope>
  256. </configuration>
  257. </plugin>
  258. <plugin>
  259. <groupId>org.apache.maven.plugins</groupId>
  260. <artifactId>maven-resources-plugin</artifactId>
  261. </plugin>
  262. <plugin>
  263. <groupId>org.apache.maven.plugins</groupId>
  264. <artifactId>maven-resources-plugin</artifactId>
  265. <executions>
  266. <execution>
  267. <id>default-resources</id>
  268. <phase>validate</phase>
  269. <goals>
  270. <goal>copy-resources</goal>
  271. </goals>
  272. <configuration>
  273. <outputDirectory>target/classes</outputDirectory>
  274. <useDefaultDelimiters>false</useDefaultDelimiters>
  275. <delimiters>
  276. <delimiter>@</delimiter>
  277. </delimiters>
  278. <resources>
  279. <resource>
  280. <directory>src/main/resources</directory>
  281. <filtering>true</filtering>
  282. <includes>
  283. <include>**</include>
  284. </includes>
  285. </resource>
  286. </resources>
  287. </configuration>
  288. </execution>
  289. </executions>
  290. </plugin>
  291. </plugins>
  292. <resources>
  293. <resource>
  294. <targetPath>lib/</targetPath>
  295. <directory>lib/</directory>
  296. <includes>
  297. <include>**/sdk-common-1.0.jar</include>
  298. </includes>
  299. </resource>
  300. </resources>
  301. </build>
  302. </project>