Reputation: 2229
How can I use maven in an 'undeploy' fashion to remove an artefact deployed to the nexus staging repo?
I currently execute the a command like below for deployment:
deploy:deploy-file -Durl=${bamboo.ArtefactsNexusUrl} -DrepositoryId=${bamboo.nexusRepoId} -DgroupId=${bamboo.GroupId} -DartifactId=${bamboo.ArtefactName} -Dversion=${bamboo.inject.VERSION} -Dfile=${bamboo.ArtefactName}-${bamboo.inject.VERSION}.${bamboo.ArtefactExtension} -Dpackaging=${bamboo.ArtefactExtension}
Upvotes: 4
Views: 10333
Reputation: 29912
You can drop the whole staging repository with the Nexus Staging Maven Plugin or via the Nexus user interface. Check out the documentation in the book.
Upvotes: 2