You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Brett Porter (JIRA)" <ji...@codehaus.org> on 2006/04/25 01:06:19 UTC

[jira] Commented: (MNG-2238) Add method to MavenProject to retrieve all dependencies (including dependency management and transitive)

    [ http://jira.codehaus.org/browse/MNG-2238?page=comments#action_64080 ] 

Brett Porter commented on MNG-2238:
-----------------------------------

I'm not sure I understand what you need here.

project.getArtifacts() gets all dependencies and transitive dependencies.

Managed dependencies are not dependencies until they are introduced into a real dependencies section. You can retrieve them directly from the model, but they will not be resolved to artifacts (because they haven't been looked up - they aren't complete dependencies).

> Add method to MavenProject to retrieve all dependencies (including dependency management and transitive)
> --------------------------------------------------------------------------------------------------------
>
>          Key: MNG-2238
>          URL: http://jira.codehaus.org/browse/MNG-2238
>      Project: Maven 2
>         Type: New Feature

>     Versions: 2.0.5
>     Reporter: ruel loehr

>
>
> Consider a multi-module project whose top level pom defines a dependency management section.   Child poms define additional dependencies. 
> It would be nice to have a method which when called returned a list of dependencies which included those which are defined in dependency management, the transitive dependencies of those defined in dependency management, as well as explicit dependencies defined in both parent and child poms.

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