maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tuomas Kiviaho (JIRA)" <>
Subject [jira] (MDEP-272) purge-local-repository does nothing if certain dependencies are included
Date Mon, 08 Oct 2012 08:54:36 GMT


Tuomas Kiviaho commented on MDEP-272:

I think that this patch also takes care of MDEP-256 and MDEP-290
> purge-local-repository does nothing if certain dependencies are included
> ------------------------------------------------------------------------
>                 Key: MDEP-272
>                 URL:
>             Project: Maven 2.x Dependency Plugin
>          Issue Type: Bug
>          Components: purge-local-repository
>    Affects Versions: 2.0
>            Reporter: Michele Lorenzini
>            Assignee: Brian Fox
>         Attachments: pom.xml, PurgeLocalRepositoryMojo.patch, PurgeLocalRepositoryMojo.patch
> I've noticed that the {{purge-local-repository}} goal does nothing if certain dependencies
are present in the dependency tree of the project.
> After some attempts I've found some of the dependencies that can show problem.
> See attached {{pom.xml}}: if I run {{mvn validate}} as is, maven purges the local repository
and the log4j jar is downloaded from the remote repository.
> Removing the comment around the jasperreports dependency and re-running {{mvn validate}}
gives the following result:
> {code}
> [INFO] [dependency:purge-local-repository {execution: default}]
> [INFO] Nothing to do for project: test-issue:test-issue:pom:
> {code}
> So it seems that something goes wrong while resolving the dependencies for the project
if the jasperreports jar is included, resulting in the {{purge-local-repository}} to skip
the clean of the local repository.
> I dont know if this happens only with jasperreports dependency or if it is something
more general.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:!default.jspa
For more information on JIRA, see:


View raw message