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

Maven dependency:tree doesn't show transitive dependencies of <type>war</type> dependency

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Not A Problem
    • 3.3.9
    • None
    • Dependencies
    • None

    Description

      When I have following dependency:

      <dependency>
        <groupId>com.company.project</groupId>
        <artifactId>project-war-artifact</artifactId>
        <version>1.0-SNAPSHOT</version>
        *<type>war</type>*
      </dependency>
      

      then running dependency:tree will print:

      com.company.project:complete-web:war:1.0-SNAPSHOT
      [INFO] +- com.company.project:project-war-artifact:war:1.0-SNAPSHOT:compile
      [INFO] +-...
      

      but will not show transitive dependencies of module project-war-artifact. In spite of this state, transitive dependencies are correctly bundled to final artifact (in this case complete-web.war).

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              marek.gregor Marek Gregor
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: