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

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

    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

          People

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

            Dates

              Created:
              Updated:
              Resolved: