将jar包安装到本地Maven仓库
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
2、在pom.xml文件中引用
<dependencies> <dependency> <groupId>com.alipay</groupId> <artifactId>alipay-sdk-java</artifactId> <version>2.0</version> </dependency> </dependencies>