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

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

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


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

Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
    [ 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


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

Posted by "John Casey (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MNG-2238?page=all ]

John Casey updated MNG-2238:
----------------------------

    Fix Version: 2.1

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

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


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

Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MNG-2238?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Brett Porter closed MNG-2238.
-----------------------------

         Assignee: Brett Porter
       Resolution: Incomplete
    Fix Version/s:     (was: 2.1.x)

> 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
>          Issue Type: New Feature
>    Affects Versions: 2.0.5
>            Reporter: ruel loehr
>            Assignee: Brett Porter
>
> 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