quote
Because I need to deploy to a remote machine, and this time it is in the format of packaging = pom,
I first install the file to withholding-parent, the generated file is withholding-parent-1.1.0.pom,
and then I want to transfer this file to The central server uses deploy, and the result reports an error
mvn deploy:deploy-file -DgroupId=com.sunrun -DartifactId=withholding-parent -Dversion=1.1.0 -Dpackaging=pom -Dfile=C:\Users\dell\.m2\repository \com\sunrun\withholding-parent-1.1.0.pom -Durl=http://admin:[email protected]:8081/nexus/content/repositories/thirdparty -DrepositoryId=thirdparty -X
then I copy that file Come out, put it in the address of a simple path,
and then run the deploy successfully,
such as :
mvn deploy:deploy-file -DgroupId=com.software -DartifactId=software-parent -Dversion=1.0.0 -Dpackaging=pom -Dfile=
C:\Users\dell\.m2\repository\com\software-parent-1.1.0-SNAPSHOT.pom -Durl=http://admin:[email protected]:8081/nexus/content/repositories/thirdparty -DrepositoryId=thirdparty -X
I first install the file to withholding-parent, the generated file is withholding-parent-1.1.0.pom,
and then I want to transfer this file to The central server uses deploy, and the result reports an error
mvn deploy:deploy-file -DgroupId=com.sunrun -DartifactId=withholding-parent -Dversion=1.1.0 -Dpackaging=pom -Dfile=C:\Users\dell\.m2\repository \com\sunrun\withholding-parent-1.1.0.pom -Durl=http://admin:[email protected]:8081/nexus/content/repositories/thirdparty -DrepositoryId=thirdparty -X
then I copy that file Come out, put it in the address of a simple path,
and then run the deploy successfully,
such as :
mvn deploy:deploy-file -DgroupId=com.software -DartifactId=software-parent -Dversion=1.0.0 -Dpackaging=pom -Dfile=
C:\Users\dell\.m2\repository\com\software-parent-1.1.0-SNAPSHOT.pom -Durl=http://admin:[email protected]:8081/nexus/content/repositories/thirdparty -DrepositoryId=thirdparty -X