maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tomek Bujok (JIRA)" <>
Subject [jira] Commented: (MNG-3832) Allow wildcards in dependency exclusions
Date Tue, 03 Nov 2009 14:40:55 GMT


Tomek Bujok commented on MNG-3832:

Was this patch helpful to you? Or maybe you are not interested in such contribution? I was
delighted to implement this feature and right now I am little bit dissapointed that there
is no activity in this subject. 

> Allow wildcards in dependency exclusions
> ----------------------------------------
>                 Key: MNG-3832
>                 URL:
>             Project: Maven 2
>          Issue Type: New Feature
>          Components: Dependencies
>            Reporter: Paul Gier
>             Fix For: 2.x
>         Attachments: MNG-3832-maven-artifact.patch
> I would like to be able to exclude all transitive dependencies from a certain dependencies.
 This is especially useful when depending on an artifact with a classifier that may not have
the same dependencies as the main artifact.  Currently the only way to do this is by excluding
each dependency individually which requires significant effort and is prone to becoming out
of date.  The following syntax is one possibility.
> Exclude all transitive dependencies
> {code}
> <exclusion>
>   <groupId>*</groupId>
> </exclusion>
> {code}
> Exclude transitive dependencies with the groupId ""
> {code}
> <exclusion>
>   <groupId></groupId>
>   <artifactId>*</artifactId>
> </exclusion>
> {code}

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