Uploaded image for project: 'Maven'
  1. Maven
  2. MNG-2022

What is the Difference between project.getDependencies() and project.getDependencyArtifacts?

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Incomplete
    • None
    • None
    • Documentation: FAQ
    • None

    Description

      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.

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            Unassigned Unassigned
            nhburdick Natalie Burdick
            Votes:
            1 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment