pom.xml 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328
  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>yuncredit-public</artifactId>
  7. <groupId>com.xinhuadata.yuncredit</groupId>
  8. <version>1.0.0</version>
  9. </parent>
  10. <modelVersion>4.0.0</modelVersion>
  11. <artifactId>credit-biz</artifactId>
  12. <version>1.0.5</version>
  13. <properties>
  14. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  15. <jackson.version>2.2.2</jackson.version>
  16. <credit-common.version>1.2.1</credit-common.version>
  17. </properties>
  18. <dependencies>
  19. <!-- https://mvnrepository.com/artifact/com.alibaba/fastjson -->
  20. <dependency>
  21. <groupId>com.alibaba</groupId>
  22. <artifactId>fastjson</artifactId>
  23. <version>1.2.60</version>
  24. </dependency>
  25. <dependency>
  26. <groupId>com.codahale.metrics</groupId>
  27. <artifactId>metrics-core</artifactId>
  28. <version>3.0.1</version>
  29. </dependency>
  30. <dependency>
  31. <groupId>org.apache.httpcomponents</groupId>
  32. <artifactId>httpclient</artifactId>
  33. <version>4.5</version>
  34. </dependency>
  35. <dependency>
  36. <groupId>com.yuncredit.extend</groupId>
  37. <artifactId>wndc-commons</artifactId>
  38. <version>1.0.0</version>
  39. </dependency>
  40. <dependency>
  41. <groupId>org.apache.httpcomponents</groupId>
  42. <artifactId>httpcore</artifactId>
  43. <version>4.4.1</version>
  44. </dependency>
  45. <dependency>
  46. <groupId>com.xinhuadata.yuncredit</groupId>
  47. <artifactId>credit-common</artifactId>
  48. <version>${credit-common.version}</version>
  49. </dependency>
  50. <dependency>
  51. <groupId>org.apache.zookeeper</groupId>
  52. <artifactId>zookeeper</artifactId>
  53. <version>3.4.6</version>
  54. </dependency>
  55. <dependency>
  56. <groupId>dom4j</groupId>
  57. <artifactId>dom4j</artifactId>
  58. <version>1.6.1</version>
  59. </dependency>
  60. <dependency>
  61. <groupId>joda-time</groupId>
  62. <artifactId>joda-time</artifactId>
  63. </dependency>
  64. <dependency>
  65. <groupId>com.rabbitmq</groupId>
  66. <artifactId>amqp-client</artifactId>
  67. <version>3.6.5</version>
  68. </dependency>
  69. <dependency>
  70. <groupId>org.apache.tomcat.maven</groupId>
  71. <artifactId>tomcat7-maven-plugin</artifactId>
  72. <version>2.2</version>
  73. </dependency>
  74. <dependency>
  75. <groupId>etc-commons-logging</groupId>
  76. <artifactId>etc-commons-logging</artifactId>
  77. <version>1.2</version>
  78. <scope>system</scope>
  79. <systemPath>${project.basedir}/lib/etc-commons-logging-1.2.jar</systemPath>
  80. </dependency>
  81. <dependency>
  82. <groupId>etc.httpclient</groupId>
  83. <artifactId>etc.httpclient</artifactId>
  84. <version>4.5</version>
  85. <scope>system</scope>
  86. <systemPath>${project.basedir}/lib/etc-httpclient-4.5.jar</systemPath>
  87. </dependency>
  88. <dependency>
  89. <groupId>etc.httpcore</groupId>
  90. <artifactId>etc.httpcore</artifactId>
  91. <version>4.4</version>
  92. <scope>system</scope>
  93. <systemPath>${project.basedir}/lib/etc-httpcore-4.4.jar</systemPath>
  94. </dependency>
  95. <dependency>
  96. <groupId>etc.httpmime</groupId>
  97. <artifactId>etc.httpmime</artifactId>
  98. <version>4.5</version>
  99. <scope>system</scope>
  100. <systemPath>${project.basedir}/lib/etc-httpmime-4.5.jar</systemPath>
  101. </dependency>
  102. <dependency>
  103. <groupId>etc.jackson.annotations</groupId>
  104. <artifactId>etc.jackson.annotations</artifactId>
  105. <version>2.8</version>
  106. <scope>system</scope>
  107. <systemPath>${project.basedir}/lib/etc-jackson-annotations-2.8.jar</systemPath>
  108. </dependency>
  109. <dependency>
  110. <groupId>etc.jackson.core</groupId>
  111. <artifactId>etc.jackson.core</artifactId>
  112. <version>2.8</version>
  113. <scope>system</scope>
  114. <systemPath>${project.basedir}/lib/etc-jackson-core-2.8.jar</systemPath>
  115. </dependency>
  116. <dependency>
  117. <groupId>etc.jackson.databind</groupId>
  118. <artifactId>etc.jackson.databind</artifactId>
  119. <version>2.8</version>
  120. <scope>system</scope>
  121. <systemPath>${project.basedir}/lib/etc-jackson-databind-2.8.jar</systemPath>
  122. </dependency>
  123. <dependency>
  124. <groupId>etc.jackson.datatype.jsr310</groupId>
  125. <artifactId>etc.jackson.datatype.jsr310</artifactId>
  126. <version>2.8</version>
  127. <scope>system</scope>
  128. <systemPath>${project.basedir}/lib/etc-jackson-datatype-jsr310-2.8.jar</systemPath>
  129. </dependency>
  130. <dependency>
  131. <groupId>etc.sdk.common</groupId>
  132. <artifactId>etc.sdk.common</artifactId>
  133. <version>1.0</version>
  134. <scope>system</scope>
  135. <systemPath>${project.basedir}/lib/sdk-common-1.0.jar</systemPath>
  136. </dependency>
  137. <dependency>
  138. <groupId>slf4j.api</groupId>
  139. <artifactId>slf4j.api</artifactId>
  140. <version>1.7</version>
  141. <scope>system</scope>
  142. <systemPath>${project.basedir}/lib/slf4j-api-1.7.jar</systemPath>
  143. </dependency>
  144. <dependency>
  145. <groupId>validation.api</groupId>
  146. <artifactId>validation.api</artifactId>
  147. <version>1.1.0</version>
  148. <scope>system</scope>
  149. <systemPath>${project.basedir}/lib/validation-api-1.1.0.Final.jar</systemPath>
  150. </dependency>
  151. <dependency>
  152. <groupId>sdk.b2b.protocol</groupId>
  153. <artifactId>sdk.b2b.protocol</artifactId>
  154. <version>1.4</version>
  155. <scope>system</scope>
  156. <systemPath>${project.basedir}/lib/sdk-b2b-protocol-1.4.jar</systemPath>
  157. </dependency>
  158. <dependency>
  159. <groupId>sdk-analysis-protocol</groupId>
  160. <artifactId>sdk-analysis-protocol</artifactId>
  161. <version>3.1</version>
  162. <scope>system</scope>
  163. <systemPath>${project.basedir}/lib/sdk-analysis-protocol-3.1.jar</systemPath>
  164. </dependency>
  165. <dependency>
  166. <groupId>sdk.external.waybill.protocol</groupId>
  167. <artifactId>sdk.external.waybill.protocol</artifactId>
  168. <version>1.1.4</version>
  169. <scope>system</scope>
  170. <systemPath>${project.basedir}/lib/sdk-external-waybill-protocol-1.1.4.jar</systemPath>
  171. </dependency>
  172. <dependency>
  173. <groupId>sdk.waybill.protocol</groupId>
  174. <artifactId>sdk.waybill.protocol</artifactId>
  175. <version>1.3.4</version>
  176. <scope>system</scope>
  177. <systemPath>${project.basedir}/lib/sdk-waybill-protocol-1.3.10.jar</systemPath>
  178. </dependency>
  179. <dependency>
  180. <groupId>axis</groupId>
  181. <artifactId>axis</artifactId>
  182. <version>1.4</version>
  183. </dependency>
  184. <dependency>
  185. <groupId>com.aliyun.api.gateway</groupId>
  186. <artifactId>sdk-core-java</artifactId>
  187. <version>1.1.3</version>
  188. </dependency>
  189. <dependency>
  190. <groupId>net.coobird</groupId>
  191. <artifactId>thumbnailator</artifactId>
  192. <version>0.4.8</version>
  193. </dependency>
  194. <dependency>
  195. <groupId>com.squareup.okhttp3</groupId>
  196. <artifactId>okhttp</artifactId>
  197. <version>3.11.0</version>
  198. </dependency>
  199. <dependency>
  200. <groupId>org.quartz-scheduler</groupId>
  201. <artifactId>quartz</artifactId>
  202. <version>2.3.0</version>
  203. </dependency>
  204. </dependencies>
  205. <profiles>
  206. <profile>
  207. <id>dev</id>
  208. <properties>
  209. <profile.name>dev</profile.name>
  210. </properties>
  211. </profile>
  212. <profile>
  213. <id>test</id>
  214. <activation>
  215. <activeByDefault>true</activeByDefault>
  216. </activation>
  217. <properties>
  218. <profile.name>test</profile.name>
  219. </properties>
  220. </profile>
  221. <profile>
  222. <id>stable</id>
  223. <properties>
  224. <profile.name>stable</profile.name>
  225. </properties>
  226. </profile>
  227. <profile>
  228. <id>online</id>
  229. <properties>
  230. <profile.name>online</profile.name>
  231. </properties>
  232. </profile>
  233. <profile>
  234. <id>online-stand</id>
  235. <properties>
  236. <profile.name>online-stand</profile.name>
  237. </properties>
  238. </profile>
  239. <profile>
  240. <id>perf</id>
  241. <properties>
  242. <profile.name>perf</profile.name>
  243. </properties>
  244. </profile>
  245. </profiles>
  246. <build>
  247. <filters> <!-- 指定使用的 filter -->
  248. <filter>setting/settings-${profile.name}.properties</filter>
  249. </filters>
  250. <resources>
  251. <resource>
  252. <directory>src/main/resources</directory>
  253. <filtering>true</filtering>
  254. <includes>
  255. <include>settings.properties</include>
  256. <include>log4j.xml</include>
  257. </includes>
  258. </resource>
  259. <resource>
  260. <directory>src/main/resources</directory>
  261. <filtering>false</filtering>
  262. <excludes>
  263. <exclude>settings.properties</exclude>
  264. <exclude>log4j.xml</exclude>
  265. </excludes>
  266. </resource>
  267. </resources>
  268. <plugins>
  269. <plugin>
  270. <groupId>org.apache.maven.plugins</groupId>
  271. <artifactId>maven-surefire-plugin</artifactId>
  272. <configuration>
  273. <skip>true</skip>
  274. </configuration>
  275. </plugin>
  276. <plugin>
  277. <groupId>org.apache.maven.plugins</groupId>
  278. <artifactId>maven-assembly-plugin</artifactId>
  279. <configuration>
  280. <descriptors>
  281. <descriptor>assembly/assembly.xml</descriptor>
  282. </descriptors>
  283. </configuration>
  284. <executions>
  285. <execution>
  286. <id>make-assembly</id>
  287. <phase>package</phase>
  288. <goals>
  289. <goal>single</goal>
  290. </goals>
  291. </execution>
  292. </executions>
  293. </plugin>
  294. <plugin>
  295. <groupId>org.apache.maven.plugins</groupId>
  296. <artifactId>maven-compiler-plugin</artifactId>
  297. <configuration>
  298. <source>1.8</source>
  299. <target>1.8</target>
  300. <encoding>UTF-8</encoding>
  301. </configuration>
  302. <!-- <dependencies> <dependency> <groupId>org.codehaus.plexus</groupId>
  303. <artifactId>plexus-compiler-eclipse</artifactId> <version>1.9.1</version>
  304. </dependency> </dependencies> -->
  305. </plugin>
  306. <plugin>
  307. <groupId>org.codehaus.mojo</groupId>
  308. <artifactId>build-helper-maven-plugin</artifactId>
  309. <version>1.9</version>
  310. <executions>
  311. <execution>
  312. <phase>generate-sources</phase>
  313. <goals>
  314. <goal>add-source</goal>
  315. </goals>
  316. <configuration>
  317. <sources>
  318. <source>src/main/resources</source>
  319. </sources>
  320. </configuration>
  321. </execution>
  322. </executions>
  323. </plugin>
  324. </plugins>
  325. </build>
  326. </project>