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

[REGRESSION] appendOutput for tree goal broken for multi-module project

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.7.0
    • 3.7.1
    • None
    • None

    Description

      appendOutput no longer seems to work for a multi-module project. It only has the dependency tree for the last module.

      # use example spring project
      git clone https://github.com/spring-guides/gs-multi-module.git
      cd gs-multi-module/complete
      
      # do a dependency tree
      mvn org.apache.maven.plugins:maven-dependency-plugin:3.6.1:tree -DoutputFile=/tmp/tree-3.6.1.txt -DappendOutput=true
      mvn org.apache.maven.plugins:maven-dependency-plugin:3.7.0:tree -DoutputFile=/tmp/tree-3.7.0.txt -DappendOutput=true
      diff /tmp/tree-3.6.1.txt /tmp/tree-3.7.0.txt
      
      wc -l /tmp/tree-3.*txt
       123 /tmp/tree-3.6.1.txt
         1 /tmp/tree-3.7.0.txt
      

      Attachments

        Issue Links

          Activity

            People

              sjaranowski Slawomir Jaranowski
              sellersj Jim Sellers
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: