1、安装jar包到本地仓库

mvn install:install-file -Dfile=F:\jiefu\lib\alipay-sdk-java20170324180803.jar -DgroupId=com.alipay -DartifactId=alipay-sdk-java -Dversion=2.0 -Dpackaging=jar

将jar包安装到本地Maven仓库-LMLPHP

2、在pom.xml文件中引用

<dependencies>
<dependency>
<groupId>com.alipay</groupId>
<artifactId>alipay-sdk-java</artifactId>
<version>2.0</version>
</dependency>
</dependencies>
05-15 04:21