maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Scholte (JIRA)" <j...@codehaus.org>
Subject [jira] (MNG-2315) Add option to exclude all transitive dependencies for a particular one
Date Thu, 21 Nov 2013 21:44:45 GMT

     [ https://jira.codehaus.org/browse/MNG-2315?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Robert Scholte closed MNG-2315.
-------------------------------

    Resolution: Fixed
      Assignee: Robert Scholte

Fixed as part of MNG-3832.
This means: to exclude *all* transitive dependencies, specify:
{code:xml}
  <exclusion>
    <groupId>*</groupId>
    <artifactId>*</artifactId>
  </exclusion>
{code}
This has been added with the first versions of Maven3 due to its implementation by Aether.

Adding new elements to the pom.xml is tricky, since a lot of tools and frameworks already
depend on the current structure of the POM.
The wildcard construction is just as strong as the suggested element {{<excludeTransitive/>}},
without XML Schema changes.

                
> Add option to exclude all transitive dependencies for a particular one
> ----------------------------------------------------------------------
>
>                 Key: MNG-2315
>                 URL: https://jira.codehaus.org/browse/MNG-2315
>             Project: Maven 2 & 3
>          Issue Type: New Feature
>          Components: Dependencies
>    Affects Versions: 2.0.4
>            Reporter: Carlos Sanchez
>            Assignee: Robert Scholte
>            Priority: Critical
>             Fix For: 3.2
>
>         Attachments: MNG-2315-maven-model-builder.patch
>
>
> Something like
> <dependency>
>   ...
>   <excludeTransitive>true</excludeTransitive>
> </dependency>

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message