Executing multiple goals in a single command-line causes the most recent one to clobber the selected output file instead of append to it, or add a unique identifier name.
Example:
mvn clean verify versions:display-parent-updates versions:display-property-updates versions:display-plugin-updates -Dversions.outputFile=target/versions-output.txt
In order to get the output for all executions, you must run multiple executions of the plugin with different config, which you can either do with separate command-line executions, or you have to specify different executions in the POM file.
Also, the contents of the file wrap according to the outputLineWidth, when it should not wrap at all when written to a file.
It would be good to have an option for an output file format that is computer-readable, not subject to line width wrapping issues, and such that subsequent executions will append/modify the file, rather than clobber it (they would only clobber the section applicable to that taskk... whether it's properties, plugins, parent, or dependencies).
Executing multiple goals in a single command-line causes the most recent one to clobber the selected output file instead of append to it, or add a unique identifier name.
Example:
In order to get the output for all executions, you must run multiple executions of the plugin with different config, which you can either do with separate command-line executions, or you have to specify different executions in the POM file.
Also, the contents of the file wrap according to the outputLineWidth, when it should not wrap at all when written to a file.
It would be good to have an option for an output file format that is computer-readable, not subject to line width wrapping issues, and such that subsequent executions will append/modify the file, rather than clobber it (they would only clobber the section applicable to that taskk... whether it's properties, plugins, parent, or dependencies).