1:包下载:没有私服
mvn install:install-file -DgroupId=alipay -DartifactId=alipay-sdk-java20151021120052 -Dversion=1.0 -Dpackaging=jar -Dfile=F:\Users\PC-MSI\git\roncoo-pay\roncoo-pay-service\src\lib\alipay-sdk-java20151021120052.jar
mvn install:install-file -DgroupId=alipay -DartifactId=alipay-trade-sdk -Dversion=1.0 -Dpackaging=jar -Dfile=F:\Users\PC-MSI\git\roncoo-pay\roncoo-pay-service\src\lib\alipay-trade-sdk.jar
2:有私服的下载
mvn deploy:deploy-file -DgroupId=alipay -DartifactId=alipay-sdk-java20151021120052 -Dversion=1.0 -Dpackaging=jar -Dfile=alipay-sdk-java20151021120052.jar -Durl=http://10.1.1.1:8081/repository/releases/ -DrepositoryId=releases
mvn deploy:deploy-file -DgroupId=alipay -DartifactId=alipay-trade-sdk -Dversion=1.0 -Dpackaging=jar -Dfile=alipay-trade-sdk.jar -Durl=http://10.1.1.1:8081/repository/releases/ -DrepositoryId=releases
mvn通过jar下载到仓库
最新推荐文章于 2020-12-14 15:27:46 发布