maven上传jar包到中央仓库问题mvndeploydeployfileAccessdenied

编程

mvn deploy:deploy-file -DgroupId=com.hbxj -DartifactId=cmis-parsPbocFile -Dversion=1.1-SNAPSHOT -Dfile=D:ysmacmis-parsPbocFile-1.1.jar -Dpackaging=jar -DrepositoryId=snapshots -Durl=http://123.206.136.110:8081/nexus/content/repositories/snapshots/

mvn deploy:deploy-file -DgroupId=com.hbxj -DartifactId=cmis-plat -Dversion=1.1.3-SNAPSHOT -Dfile=D:ysmacmis-plat_V1.1.3.jar -Dpackaging=jar -DrepositoryId=snapshots -Durl=http://123.206.136.110:8081/nexus/content/repositories/snapshots/

mvn deploy:deploy-file -DgroupId=com.hbxj -DartifactId=persistence -Dversion=0.0.1-SNAPSHOT -Dfile=D:ysmapersistence.jar -Dpackaging=jar -DrepositoryId=snapshots -Durl=http://123.206.136.110:8081/nexus/content/repositories/snapshots/

mvn deploy:deploy-file -DgroupId=com.hbxj -DartifactId=emp -Dversion=2.2.1-SNAPSHOT -Dfile=D:ysmaemp-2.2.1.jar -Dpackaging=jar -DrepositoryId=snapshots -Durl=http://123.206.136.110:8081/nexus/content/repositories/snapshots/

mvn deploy:deploy-file -DgroupId=com.hbxj -DartifactId=echainEJB -Dversion=3.1.1-SNAPSHOT -Dfile=D:ysmaechainEJB-3.1.1.jar -Dpackaging=jar -DrepositoryId=snapshots -Durl=http://123.206.136.110:8081/nexus/content/repositories/snapshots/

特别重要:

snapshots 上传时 版本号需携带SNAPSHOT关键字 ps:RELEASE 规则应该同snapshots?

 

以上是 maven上传jar包到中央仓库问题mvndeploydeployfileAccessdenied 的全部内容, 来源链接: utcz.com/z/510580.html

回到顶部