You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Michael Osipov (JIRA)" <ji...@apache.org> on 2017/04/15 23:53:42 UTC
[jira] [Closed] (MDEP-504) purge-local-repository does not update
maven-metadata-local.xml
[ https://issues.apache.org/jira/browse/MDEP-504?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Michael Osipov closed MDEP-504.
-------------------------------
Resolution: Fixed
Works for me with 3.0.0. Note the parameter is {{manualInclude}} and contains groupId:artifactId only.
> purge-local-repository does not update maven-metadata-local.xml
> ---------------------------------------------------------------
>
> Key: MDEP-504
> URL: https://issues.apache.org/jira/browse/MDEP-504
> Project: Maven Dependency Plugin
> Issue Type: Bug
> Components: purge-local-repository
> Affects Versions: 2.10
> Reporter: Dustin Spicuzza
>
> So if I do something like...
> mvn dependency:purge-local-repository -DmanualIncludes="com.example:project:0.0.0",
> Then what happens is the dependency plugin does not update any of the local metadata files (in particular, maven-local-metadata.xml) to remove the version also. This will sometimes cause problems in other projects that depend on the project I attempted to purge, and they will fail until I delete the metadata file.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)