Reputation: 13036
Is there any way to 'nicely' deinstall artefact previously installed into local repository by Maven 2? I have original pom.xml
file and of course I can manually remove artifact but I'd like to do it in some more clean way than manual delete.
Googled around but no luck, maybe I just searched in wrong direction.
Thank you in advance.
Upvotes: 0
Views: 232
Reputation: 3679
You may want to look at this Maven Dependency plugin goal: purge-local-repository:
The purpose of the dependency:purge-local-repository goal is to purge (delete and optionally re-resolve) artifacts from the local maven repository.
However, I think you may loose those other 'handmade' dependencies you manually uploaded to only your local repository.
I'd say that there's nothing bad about manually removing related files (and folders) from you local repository.
Upvotes: 1