pom.xml 7.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240
  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>easysdk-kernel</artifactId>
  6. <version>1.0.2</version>
  7. <name>Alipay Easy SDK Kernel</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>org.slf4j</groupId>
  65. <artifactId>slf4j-api</artifactId>
  66. <version>1.7.25</version>
  67. </dependency>
  68. <dependency>
  69. <groupId>com.aliyun</groupId>
  70. <artifactId>tea</artifactId>
  71. <version>0.1.5</version>
  72. </dependency>
  73. <dependency>
  74. <groupId>com.google.guava</groupId>
  75. <artifactId>guava</artifactId>
  76. <version>28.1-jre</version>
  77. </dependency>
  78. <dependency>
  79. <groupId>com.google.code.gson</groupId>
  80. <artifactId>gson</artifactId>
  81. <version>2.8.6</version>
  82. </dependency>
  83. <dependency>
  84. <groupId>org.bouncycastle</groupId>
  85. <artifactId>bcprov-jdk15on</artifactId>
  86. <version>1.64</version>
  87. </dependency>
  88. </dependencies>
  89. <distributionManagement>
  90. <snapshotRepository>
  91. <id>sonatype-nexus-snapshots</id>
  92. <url>https://oss.sonatype.org/content/repositories/snapshots</url>
  93. </snapshotRepository>
  94. <repository>
  95. <id>sonatype-nexus-staging</id>
  96. <url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
  97. </repository>
  98. </distributionManagement>
  99. <licenses>
  100. <license>
  101. <name>MIT License</name>
  102. <url>http://www.opensource.org/licenses/mit-license.php</url>
  103. </license>
  104. </licenses>
  105. <scm>
  106. <connection>scm:git:git@github.com:alipay/alipay-easysdk.git</connection>
  107. <developerConnection>scm:git:ssh://github.com:alipay/alipay-easysdk.git</developerConnection>
  108. <url>http://github.com/alipay/alipay-easysdk/tree/master/java</url>
  109. </scm>
  110. <developers>
  111. <developer>
  112. <id>antopen</id>
  113. <name>antopen</name>
  114. <email>antopen@aliyun.com</email>
  115. </developer>
  116. </developers>
  117. <build>
  118. <plugins>
  119. <plugin>
  120. <groupId>org.apache.maven.plugins</groupId>
  121. <artifactId>maven-compiler-plugin</artifactId>
  122. <version>2.3.2</version>
  123. <configuration>
  124. <source>1.7</source>
  125. <target>1.7</target>
  126. <encoding>UTF-8</encoding>
  127. </configuration>
  128. </plugin>
  129. <plugin>
  130. <groupId>org.apache.maven.plugins</groupId>
  131. <artifactId>maven-jar-plugin</artifactId>
  132. <version>2.3.2</version>
  133. <configuration>
  134. </configuration>
  135. </plugin>
  136. <plugin>
  137. <groupId>org.apache.maven.plugins</groupId>
  138. <artifactId>maven-shade-plugin</artifactId>
  139. <version>3.2.2</version>
  140. <configuration>
  141. <filters>
  142. <filter>
  143. <artifact>*:*</artifact>
  144. <excludes>
  145. <exclude>META-INF/*.SF</exclude>
  146. <exclude>META-INF/*.DSA</exclude>
  147. <exclude>META-INF/*.RSA</exclude>
  148. </excludes>
  149. </filter>
  150. </filters>
  151. </configuration>
  152. <executions>
  153. <execution>
  154. <phase>package</phase>
  155. <goals>
  156. <goal>shade</goal>
  157. </goals>
  158. </execution>
  159. </executions>
  160. </plugin>
  161. <plugin>
  162. <artifactId>maven-deploy-plugin</artifactId>
  163. <version>2.8.2</version>
  164. <executions>
  165. <execution>
  166. <id>default-deploy</id>
  167. <phase>deploy</phase>
  168. <goals>
  169. <goal>deploy</goal>
  170. </goals>
  171. </execution>
  172. </executions>
  173. </plugin>
  174. <plugin>
  175. <groupId>org.sonatype.plugins</groupId>
  176. <artifactId>nexus-staging-maven-plugin</artifactId>
  177. <version>1.6.7</version>
  178. <extensions>true</extensions>
  179. <configuration>
  180. <serverId>ossrh</serverId>
  181. <nexusUrl>https://oss.sonatype.org/</nexusUrl>
  182. <autoReleaseAfterClose>true</autoReleaseAfterClose>
  183. </configuration>
  184. </plugin>
  185. <plugin>
  186. <groupId>org.apache.maven.plugins</groupId>
  187. <artifactId>maven-scm-plugin</artifactId>
  188. <version>1.8.1</version>
  189. </plugin>
  190. <plugin>
  191. <groupId>org.apache.maven.plugins</groupId>
  192. <artifactId>maven-source-plugin</artifactId>
  193. <version>2.1.2</version>
  194. <executions>
  195. <execution>
  196. <id>attach-sources</id>
  197. <phase>verify</phase>
  198. <goals>
  199. <goal>jar-no-fork</goal>
  200. </goals>
  201. </execution>
  202. </executions>
  203. </plugin>
  204. <plugin>
  205. <groupId>org.apache.maven.plugins</groupId>
  206. <artifactId>maven-javadoc-plugin</artifactId>
  207. <version>2.9.1</version>
  208. <configuration>
  209. <aggregate>true</aggregate>
  210. <charset>UTF-8</charset>
  211. <encoding>UTF-8</encoding>
  212. <docencoding>UTF-8</docencoding>
  213. <additionalparam>-Xdoclint:none</additionalparam>
  214. </configuration>
  215. <executions>
  216. <execution>
  217. <id>attach-javadocs</id>
  218. <goals>
  219. <goal>jar</goal>
  220. </goals>
  221. </execution>
  222. </executions>
  223. </plugin>
  224. <plugin>
  225. <groupId>org.apache.maven.plugins</groupId>
  226. <artifactId>maven-gpg-plugin</artifactId>
  227. <version>1.6</version>
  228. <executions>
  229. <execution>
  230. <id>sign-artifacts</id>
  231. <phase>verify</phase>
  232. <goals>
  233. <goal>sign</goal>
  234. </goals>
  235. </execution>
  236. </executions>
  237. </plugin>
  238. </plugins>
  239. </build>
  240. </project>