For example, run this command with for a maven project:
mvn dependency:list
What I need from Maven is only these two lines (cut out fr
I was able to supply a property to save required clean output into a file.
For example, -DoutputFile or -Doutput:
mvn dependency:list -DoutputFile=dependencies.output.txt
mvn help:effective-pom -Doutput=effective.pom.xml
If STDOUT is required, cat
the file.
Even though it's not generic, so far, the workaround solves all cases for me.