前提:maven 環(huán)境變量已配置;
1惧所、安裝SDK到本地倉庫:
將alipay-sdk-Java20170307171631.jar放在E:下,cmd進(jìn)入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>