将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/
上传成功标识: