pom.xml 6.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195
  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.2.0</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.8</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. <artifactId>maven-deploy-plugin</artifactId>
  118. <version>2.8.2</version>
  119. <executions>
  120. <execution>
  121. <id>default-deploy</id>
  122. <phase>deploy</phase>
  123. <goals>
  124. <goal>deploy</goal>
  125. </goals>
  126. </execution>
  127. </executions>
  128. </plugin>
  129. <plugin>
  130. <groupId>org.sonatype.plugins</groupId>
  131. <artifactId>nexus-staging-maven-plugin</artifactId>
  132. <version>1.6.7</version>
  133. <extensions>true</extensions>
  134. <configuration>
  135. <serverId>ossrh</serverId>
  136. <nexusUrl>https://oss.sonatype.org/</nexusUrl>
  137. <autoReleaseAfterClose>true</autoReleaseAfterClose>
  138. </configuration>
  139. </plugin>
  140. <plugin>
  141. <groupId>org.apache.maven.plugins</groupId>
  142. <artifactId>maven-scm-plugin</artifactId>
  143. <version>1.8.1</version>
  144. </plugin>
  145. <plugin>
  146. <groupId>org.apache.maven.plugins</groupId>
  147. <artifactId>maven-source-plugin</artifactId>
  148. <version>2.1.2</version>
  149. <executions>
  150. <execution>
  151. <id>attach-sources</id>
  152. <phase>verify</phase>
  153. <goals>
  154. <goal>jar-no-fork</goal>
  155. </goals>
  156. </execution>
  157. </executions>
  158. </plugin>
  159. <plugin>
  160. <groupId>org.apache.maven.plugins</groupId>
  161. <artifactId>maven-javadoc-plugin</artifactId>
  162. <version>2.9.1</version>
  163. <configuration>
  164. <aggregate>true</aggregate>
  165. <charset>UTF-8</charset>
  166. <encoding>UTF-8</encoding>
  167. <docencoding>UTF-8</docencoding>
  168. <additionalparam>-Xdoclint:none</additionalparam>
  169. </configuration>
  170. <executions>
  171. <execution>
  172. <id>attach-javadocs</id>
  173. <goals>
  174. <goal>jar</goal>
  175. </goals>
  176. </execution>
  177. </executions>
  178. </plugin>
  179. <plugin>
  180. <groupId>org.apache.maven.plugins</groupId>
  181. <artifactId>maven-gpg-plugin</artifactId>
  182. <version>1.6</version>
  183. <executions>
  184. <execution>
  185. <id>sign-artifacts</id>
  186. <phase>verify</phase>
  187. <goals>
  188. <goal>sign</goal>
  189. </goals>
  190. </execution>
  191. </executions>
  192. </plugin>
  193. </plugins>
  194. </build>
  195. </project>