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>
原文地址:https://www.cnblogs.com/jiefu/p/11055061.html
时间: 2024-10-10 14:37:35