Problems encountered when maven deploy type= parent pom file

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


Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=326225234&siteId=291194637