将pom文件放到本地D盘:
在cmd切换到D盘目录:
mvn -e deploy:deploy-file -Dmaven.test.skip=true -Dfile=framework-boot-parent-2.9-HRYS-SNAPSHOT.pom -DgroupId=com.sinoservices -DartifactId=framework-boot-parent -Dversion=2.9-HRYS-SNAPSHOT -Dpackaging=pom -DrepositoryId=nexus-snapshots -Durl=http://IP:8081/nexus/content/repositories/snapshots/
上传成功标识:
标签:私服,snapshots,maven,2.9,pom,D盘,上传 From: https://www.cnblogs.com/2018-james/p/17319014.html