[MDEP-943] [REGRESSION] appendOutput for tree goal broken for multi-module project (original) (raw)
- Type:
Bug
- Status: Closed
- Priority:
Major
- Resolution: Fixed
- Affects Version/s: 3.7.0
- Component/s: None
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: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