前提:maven 环境变量已配置;
1、安装SDK到本地仓库:
将alipay-sdk-Java20170307171631.jar放在E:下,cmd进入E:输入下面的命令:
mvn install:install-file -DgroupId=com.alipay -DartifactId=sdk-java-Dversion=20170307171631 -Dpackaging=jar -Dfile=alipay-sdk-java20170307171631.jar
2、配置pom.xml
<dependency>
<groupId>com.alipay</groupId>
<artifactId>sdk-java</artifactId>
<version>20170511115337</version>
<dependency>
网友评论