赞
踩
Failed to deploy artifacts: Could not transfer artifact http-sign-request-client:jar:1.0.0 from/to nexus-user (https:///repository/maven-public/): transfer failed for https:///repository/maven-public/c equest-client/1.0.0/http-sign-request-client-1.0.0.jar, status: 405 PUT
mvn deploy:deploy-file -DgroupId=xxx -DartifactId=http-sign-xxx-client -Dversion=1.0.0 -Dpacckaging=jar -Dfile=http-sign-request-xx-1.0.0.jar -DrepositoryId=nexus-user -Durl=https://xxx/repository/maven-public/
执行命令后报错
修改命令如下
mvn deploy:deploy-file -DgroupId=x.xx-DartifactId=http-sign-request-xx-Dversion=1.0.0 -Dpacckaging=jar -Dfile=http-sign-request-xxx-1.0.0.jar -DrepositoryId=nexus-user -Durl=https://xxx/repository/maven-releases/
deploy我们的jar包,应该使用hosted类型的nexus仓库。
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。