PayPal SDK project into the local repository download


Alipay RSA2SDK.zip

For Alipay used in the development SDK, can be downloaded from the official website, you can download it, extract can be used directly downloaded add local maven repository, or PW, coordinate information to configure their own codes of pom, you can normally down under this method calls the SDK development

Download
1. Configure Maven environment variable
2. Check local is configured correctly open cmd, execute mvn -v

3. Download jar package you want to add, find the location of the jar package
** 4. Navigate to the location where the jar in cmd **
5. Enter the following command

mvn install:install-file -DgroupId=com.alipay -DartifactId=trade-sdk -Dversion=3.3.0 -Dpackaging=jar -Dfile=alipay-trade-sdk-3.3.0.jar
1
-DgroupId:表示jar对应的groupId

<the groupId> com.alipay </ the groupId>
. 1
-DartifactId: represents a corresponding jar artifactId

<the artifactId> TRADE-SDK </ the artifactId>
. 1
-Dversion: corresponding to the version represented jar

<Version> 3.3.0 </ Version>
. 1
6. The success tips

The final step, replace the pom file your own projects


Other packages add a local warehouse jar is the same, you can also add PW

 

Disclaimer: This article is CSDN blogger "chivalrous extraordinary Guo" original articles
original link: https: //blog.csdn.net/guoYLong/article/details/104992809

Guess you like

Origin www.cnblogs.com/wscyq/p/12633228.html