You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Mike Nereson (JIRA)" <ji...@codehaus.org> on 2009/05/19 16:31:45 UTC

[jira] Commented: (MNG-2315) Add option to exclude all transitive dependencies for a particular one

    [ http://jira.codehaus.org/browse/MNG-2315?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=177134#action_177134 ] 

Mike Nereson commented on MNG-2315:
-----------------------------------

I need this. Here is my usecase. I am using an assembly to package the dependencies of my jars into the jar. My web app bootstraps the jars and extracts the dependencies from inside the jar to the web-app's WEB-INF\lib.

My web app depends on these jars and so includes all of their dependencies. So I have to manually exclude them all. And update that exclude each time any of my modules add a new dependency.

> Add option to exclude all transitive dependencies for a particular one
> ----------------------------------------------------------------------
>
>                 Key: MNG-2315
>                 URL: http://jira.codehaus.org/browse/MNG-2315
>             Project: Maven 2
>          Issue Type: New Feature
>          Components: Dependencies
>    Affects Versions: 2.0.4
>            Reporter: Carlos Sanchez
>            Priority: Critical
>             Fix For: 3.x
>
>
> Something like
> <dependency>
>   ...
>   <excludeTransitive>true</excludeTransitive>
> </dependency>

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira