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#a7373434
Sent from the Maven - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to