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

Saminda Wishwajith Abeyruwan commented on MNG-2315:
---------------------------------------------------

Maven2 is all about dependency management, and transient dependencies are an 
important part of it. Giving a switch to exclude all the transient dependencies 
would be an cogent thing to do. 

Having been able to obtain transient dependencies is an powerful feature. With 
the scenarios we have encountered so far, it has been obvious that a some sort 
of control over transient dependency is a viable solution. 

If we could restrict that, Maven2 should look for particular depth in the 
transient tree, rather than all the way down, it would be a much more valuable 
thing for the users. 

Thus, 

<dependency>
...
<transientDepth>1</transientDepth>

</dependency>

Thus, EII transientDepth would contain the depth that the transient resolution 
framework should look in the transient dependent tree. Value of 1 mean, 
dependencies in the next level only. 

if transientDepth is 0, it is same as 
<excludeTransitive>true</excludeTransitive>. 


We know Maven2 rocks and has addressed many of the building issues. Hope we 
would get a way to control the transient dependencies as well. (What about 
2.0.8 :) ) 

> 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: 2.1
>
>
> 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

        

Reply via email to