Uploaded image for project: 'Maven Dependency Plugin'
  1. Maven Dependency Plugin
  2. MDEP-351

dependency:tree is not resolved on assembly project with ear dependency type

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Auto Closed
    • Affects Version/s: 2.4
    • Fix Version/s: None
    • Component/s: tree
    • Labels:
      None
    • Environment:
      Maven 3.0.4, Windows Vista

      Description

      I'd like to get complete dependency:tree on an assembly project that depends on ear artifacts

      When dependency type is ear, the tree ends at 1st level :
      [INFO] — maven-dependency-plugin:2.1:tree (default-cli) @ assembly —
      [INFO] demo.assembly:assembly:pom:1.0-SNAPSHOT
      [INFO] - demo.assembly:deploy:ear:1.0-SNAPSHOT:compile

      If i change dependency type to pom, the tree is complete (i see ear's modules) :
      [INFO] — maven-dependency-plugin:2.1:tree (default-cli) @ assembly —
      [INFO] demo.assembly:assembly:pom:1.0-SNAPSHOT
      [INFO] - demo.assembly:deploy:pom:1.0-SNAPSHOT:compile
      [INFO] - demo.assembly:webservice:ejb:1.0-SNAPSHOT:compile
      [INFO] - javax.ejb:ejb-api:jar:3.0:compile

      Best regards
      Eric

        Attachments

        1. assembly-projects.zip
          5 kB
          Eric TOUTUT

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              etoutut Eric TOUTUT
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: