开发者

Remove artifacts from Nexus repository

开发者 https://www.devze.com 2023-01-16 00:10 出处:网络
I deployed some artifacts and I copy-pasted wrong name of those artifacts. I remember that manual playing with repository content brings problems.

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.

Remove artifacts from Nexus repository

Remove artifacts from Nexus repository


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":

Remove artifacts from Nexus repository


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

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号