maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Paul Gier (JIRA)" <>
Subject [jira] Closed: (MNG-3742) Exclusion of transitive dependiencies does not work
Date Fri, 07 Nov 2008 21:40:13 GMT


Paul Gier closed MNG-3742.

    Resolution: Fixed

Your example pom has the groupId and artifactId reversed.  I think that's why the exclusion
isn't working for you.

> Exclusion of transitive dependiencies does not work
> ---------------------------------------------------
>                 Key: MNG-3742
>                 URL:
>             Project: Maven 2
>          Issue Type: Bug
>    Affects Versions: 2.0.9
>            Reporter: Grzegorz Borkowski
>         Attachments: pom.xml
> I create empty project with jar-type pom. I add dependency on log4j 1.2.15 (the most
up-to-date version). Build fails, because log4j declares in its pom dependencies on some Sun
librareis, which are not available for Maven to download. They should be marked optional in
log4j pom, but they are not (they claim it will be fixed in 1.2.16, but it is not released
yet). So I exclude dependienices, according to the document:
> However, build still fails, as Maven still tries to download excluded libraries. This
seems a bug in Maven.
> This is easilyt reproducable from comand-line, NetBeans or Eclipse.
> See my pom attached.

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:


View raw message