Uploaded image for project: 'Forge'
  1. Forge
  2. FORGE-82

Maven Dependency Facet hasDependency returns false for transitive dependencies

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Out of Date
    • Affects Version/s: None
    • Fix Version/s: 1.0.0.Beta2
    • Component/s: None
    • Labels:
      None

      Description

      According to the javadoc, dependencyFacet.hasDependency should return true on transitive dependencies as well.

      The following test case illustrates this behavior: https://gist.github.com/1016948

        Gliffy Diagrams

          Activity

          gastaldi George Gastaldi created issue -
          gastaldi George Gastaldi made changes -
          Field Original Value New Value
          Summary Maven Dependency Facet hasDepenency returns false for transitive dependencies Maven Dependency Facet hasDependency returns false for transitive dependencies
          Show
          gastaldi George Gastaldi added a comment - Links that may help: http://maven.40175.n5.nabble.com/dependency-getDependencies-td115330.html and http://maven.40175.n5.nabble.com/How-to-get-all-dependecy-in-a-mojo-td111541.html#a19533728
          Hide
          lincolnthree Lincoln Baxter III added a comment -

          This has already been fixed. You should use .getEffectiveDependency() instead.

          Show
          lincolnthree Lincoln Baxter III added a comment - This has already been fixed. You should use .getEffectiveDependency() instead.
          lincolnthree Lincoln Baxter III made changes -
          Status Open [ 1 ] Closed [ 6 ]
          Assignee Lincoln Baxter III [ lincolnthree ]
          Fix Version/s 1.0.0.Beta2 [ 12317652 ]
          Resolution Out of Date [ 10 ]
          lincolnthree Lincoln Baxter III made changes -
          Project Forge (JB) [ 12311102 ] Forge [ 12311820 ]
          Key SEAMFORGE-213 FORGE-82
          Fix Version/s 1.0.0.Beta2 [ 12318356 ]
          Fix Version/s 1.0.0.Beta2 [ 12317652 ]
          velias Vlastimil Eliáš made changes -
          Workflow GIT Pull Request workflow [ 12463012 ] GIT Pull Request workflow with automatic PR triggers [ 12657638 ]

            People

            • Assignee:
              lincolnthree Lincoln Baxter III
              Reporter:
              gastaldi George Gastaldi
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development