I deployed some artifacts and I copy-pasted wrong name of those artifacts. I remember that manual playing with repository content brings problems.
What is the recommended way for dealing with these situations?
EDITED:
I thought there was no way of deleting artifacts from hosted repositories via web interface. Now I see that in the "Browse stora开发者_开发问答ge" section I can delete the artifact directory, which is the the recommended way I guess.
Yup, in the past I've just deleted artifacts using the web GUI, no problems
login as administrator, delete the artifacts you want to remove, and rebuild index for this repo.
On my installation (Nexus 3.23, with a Python repository), the "delete component" isn't available in the WebGUI from the browse interface (even logged in as local admin).
However, if you use the "Advanced search" feature and select the desired component/package, then the delete function is available, so it's the only way I found to delete a package.
In Nexus 2, you can right-click on the element and select "Delete":
1)click on settings 2)click on Repositories 3)click on the Repository that you wish to delete 4)click on delete Repository on the top left corner 5)Repository will be deleted
精彩评论