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