pom.xml 6.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220
  1. <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
  2. <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  3. <modelVersion>4.0.0</modelVersion>
  4. <groupId>com.alipay.sdk</groupId>
  5. <artifactId>alipay-easysdk</artifactId>
  6. <version>2.0.1</version>
  7. <name>Alipay Easy SDK</name>
  8. <url>https://open.alipay.com</url>
  9. <description>Alipay Easy SDK for Java
  10. allows you to enjoy a minimalist programming experience
  11. and quickly access the various high-frequency capabilities of the Alipay Open Platform.
  12. </description>
  13. <repositories>
  14. <repository>
  15. <id>mvnrepository</id>
  16. <name>mvnrepository</name>
  17. <url>http://www.mvnrepository.com/</url>
  18. <layout>default</layout>
  19. <releases>
  20. <enabled>true</enabled>
  21. </releases>
  22. <snapshots>
  23. <enabled>false</enabled>
  24. </snapshots>
  25. </repository>
  26. </repositories>
  27. <properties>
  28. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  29. <maven.compiler.source>1.7</maven.compiler.source>
  30. <maven.compiler.target>1.7</maven.compiler.target>
  31. </properties>
  32. <dependencies>
  33. <dependency>
  34. <groupId>junit</groupId>
  35. <artifactId>junit</artifactId>
  36. <version>4.11</version>
  37. <scope>test</scope>
  38. </dependency>
  39. <dependency>
  40. <groupId>ch.qos.logback</groupId>
  41. <artifactId>logback-core</artifactId>
  42. <version>1.2.3</version>
  43. <scope>test</scope>
  44. </dependency>
  45. <dependency>
  46. <groupId>ch.qos.logback</groupId>
  47. <artifactId>logback-classic</artifactId>
  48. <version>1.2.3</version>
  49. <scope>test</scope>
  50. </dependency>
  51. <dependency>
  52. <groupId>ch.qos.logback</groupId>
  53. <artifactId>logback-access</artifactId>
  54. <version>1.2.3</version>
  55. <scope>test</scope>
  56. </dependency>
  57. <dependency>
  58. <groupId>org.mockito</groupId>
  59. <artifactId>mockito-core</artifactId>
  60. <version>3.2.0</version>
  61. <scope>test</scope>
  62. </dependency>
  63. <dependency>
  64. <groupId>com.alipay.sdk</groupId>
  65. <artifactId>easysdk-kernel</artifactId>
  66. <version>1.0.2</version>
  67. </dependency>
  68. </dependencies>
  69. <distributionManagement>
  70. <snapshotRepository>
  71. <id>sonatype-nexus-snapshots</id>
  72. <url>https://oss.sonatype.org/content/repositories/snapshots</url>
  73. </snapshotRepository>
  74. <repository>
  75. <id>sonatype-nexus-staging</id>
  76. <url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
  77. </repository>
  78. </distributionManagement>
  79. <licenses>
  80. <license>
  81. <name>MIT License</name>
  82. <url>http://www.opensource.org/licenses/mit-license.php</url>
  83. </license>
  84. </licenses>
  85. <scm>
  86. <connection>scm:git:git@github.com:alipay/alipay-easysdk.git</connection>
  87. <developerConnection>scm:git:ssh://github.com:alipay/alipay-easysdk.git</developerConnection>
  88. <url>http://github.com/alipay/alipay-easysdk/tree/master/java</url>
  89. </scm>
  90. <developers>
  91. <developer>
  92. <id>antopen</id>
  93. <name>antopen</name>
  94. <email>antopen@aliyun.com</email>
  95. </developer>
  96. </developers>
  97. <build>
  98. <plugins>
  99. <plugin>
  100. <groupId>org.apache.maven.plugins</groupId>
  101. <artifactId>maven-compiler-plugin</artifactId>
  102. <version>2.3.2</version>
  103. <configuration>
  104. <source>1.7</source>
  105. <target>1.7</target>
  106. <encoding>UTF-8</encoding>
  107. </configuration>
  108. </plugin>
  109. <plugin>
  110. <groupId>org.apache.maven.plugins</groupId>
  111. <artifactId>maven-jar-plugin</artifactId>
  112. <version>2.3.2</version>
  113. <configuration>
  114. </configuration>
  115. </plugin>
  116. <plugin>
  117. <groupId>org.apache.maven.plugins</groupId>
  118. <artifactId>maven-shade-plugin</artifactId>
  119. <version>3.2.2</version>
  120. <configuration>
  121. <filters>
  122. <filter>
  123. <artifact>*:*</artifact>
  124. <excludes>
  125. <exclude>META-INF/*.SF</exclude>
  126. <exclude>META-INF/*.DSA</exclude>
  127. <exclude>META-INF/*.RSA</exclude>
  128. </excludes>
  129. </filter>
  130. </filters>
  131. </configuration>
  132. <executions>
  133. <execution>
  134. <phase>package</phase>
  135. <goals>
  136. <goal>shade</goal>
  137. </goals>
  138. </execution>
  139. </executions>
  140. </plugin>
  141. <plugin>
  142. <artifactId>maven-deploy-plugin</artifactId>
  143. <version>2.8.2</version>
  144. <executions>
  145. <execution>
  146. <id>default-deploy</id>
  147. <phase>deploy</phase>
  148. <goals>
  149. <goal>deploy</goal>
  150. </goals>
  151. </execution>
  152. </executions>
  153. </plugin>
  154. <plugin>
  155. <groupId>org.sonatype.plugins</groupId>
  156. <artifactId>nexus-staging-maven-plugin</artifactId>
  157. <version>1.6.7</version>
  158. <extensions>true</extensions>
  159. <configuration>
  160. <serverId>ossrh</serverId>
  161. <nexusUrl>https://oss.sonatype.org/</nexusUrl>
  162. <autoReleaseAfterClose>true</autoReleaseAfterClose>
  163. </configuration>
  164. </plugin>
  165. <plugin>
  166. <groupId>org.apache.maven.plugins</groupId>
  167. <artifactId>maven-scm-plugin</artifactId>
  168. <version>1.8.1</version>
  169. </plugin>
  170. <plugin>
  171. <groupId>org.apache.maven.plugins</groupId>
  172. <artifactId>maven-source-plugin</artifactId>
  173. <version>2.1.2</version>
  174. <executions>
  175. <execution>
  176. <id>attach-sources</id>
  177. <phase>verify</phase>
  178. <goals>
  179. <goal>jar-no-fork</goal>
  180. </goals>
  181. </execution>
  182. </executions>
  183. </plugin>
  184. <plugin>
  185. <groupId>org.apache.maven.plugins</groupId>
  186. <artifactId>maven-javadoc-plugin</artifactId>
  187. <version>2.9.1</version>
  188. <configuration>
  189. <aggregate>true</aggregate>
  190. <charset>UTF-8</charset>
  191. <encoding>UTF-8</encoding>
  192. <docencoding>UTF-8</docencoding>
  193. <additionalparam>-Xdoclint:none</additionalparam>
  194. </configuration>
  195. <executions>
  196. <execution>
  197. <id>attach-javadocs</id>
  198. <goals>
  199. <goal>jar</goal>
  200. </goals>
  201. </execution>
  202. </executions>
  203. </plugin>
  204. <plugin>
  205. <groupId>org.apache.maven.plugins</groupId>
  206. <artifactId>maven-gpg-plugin</artifactId>
  207. <version>1.6</version>
  208. <executions>
  209. <execution>
  210. <id>sign-artifacts</id>
  211. <phase>verify</phase>
  212. <goals>
  213. <goal>sign</goal>
  214. </goals>
  215. </execution>
  216. </executions>
  217. </plugin>
  218. </plugins>
  219. </build>
  220. </project>