maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Anders Kr. Andersen (JIRA)" <j...@codehaus.org>
Subject [jira] Commented: (MNG-2022) What is the Difference between project.getDependencies() and project.getDependencyArtifacts?
Date Wed, 29 Apr 2009 06:29:45 GMT

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

Anders Kr. Andersen commented on MNG-2022:
------------------------------------------

I thought that getDependencies() was getting the pom.xml's dependency list
and get getDependencyArtifacts() would relate to the artifact as well.?

Never less: Could we not just add this to the javadoc and close the case ?

> What is the Difference between project.getDependencies() and project.getDependencyArtifacts?
> --------------------------------------------------------------------------------------------
>
>                 Key: MNG-2022
>                 URL: http://jira.codehaus.org/browse/MNG-2022
>             Project: Maven 2
>          Issue Type: Improvement
>          Components: Documentation: Faqs
>            Reporter: Natalie Burdick
>             Fix For: Documentation Deficit
>
>
> The difference between project.getDependencies() and project.getDependencyArtifacts()
is that project.getDependencies()
> also returns transitive dependencies, while project.getDependencyArtifacts returns only
the direct dependencies, and also includes things in the test scope.

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

        

Mime
View raw message