Hi Franz, I really understand what you said. With my personal custom, I want to keep my repo clean. Garbage should be cleaned. For example, I have an project(artifact), which has been installed to repo, now I want to change its groupId or artifactId. Then I would like uninstall it from repo firstly, then change the pom and install it repeatedly.
I think you don't think that's a problem. If Maven doesn't care the requirement, I also think that's OK. a cup of Java, cheers! Sha Jiang franz see wrote: > > Good day to you, Sha Jiang, > > You cannot delete / undeploy / uninstall simply by removing it from your > dependency ( if i understood your question correctly ). > > However, you usually will not have any problems with regards to an > artifact in your normal repository ( unless it is a snapshot ). Only > dependenct artifacts are loaded for your maven project. Even if you have a > my.comp:my-app:1 artifact in your repository, if it is not declared as > your project's dependency, and if it is not a transitive dependency ( > dependency of your dependency ), then it will not be loaded by the > classloader when building your project. > > Cheers, > Franz > > > jiangshachina wrote: >> >> Hello, >> We install or deploy artifacts via the corresponding plugins. >> What about uninstall or undeploy artifacts? >> >> Of course, I can delete the artifacts from repository simply. >> But when I'm developing with IDE(Eclipse, I make Maven as Eclipse >> external tool, and use it conveniently), >> then I expect to delete some artifact via manipulating pom.xml as the >> same as that in installing/delpoying the artifact. >> >> >> a cup of Java, cheers! >> Sha Jiang >> > > -- View this message in context: http://www.nabble.com/Uninstall-or-undeploy-artifact--tf2627787s177.html#a7375723 Sent from the Maven - Users mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]