These three mojos always log to console AND unconditionally call writeFile(output, ...) (no-op when null). Every other mojo uses if (output != null) { ... } else { getLog().info(...); }. The dual-write means content is always printed to console even when writing to file. They also do not prepend the "Generated by Maven Help Plugin" header that ActiveProfilesMojo and SystemMojo add.
Files:
- ListDependencyTypesMojo.java:95-96
- ListLifecyclePhasesMojo.java:76-77
- ListPackagingMojo.java:110-111
These three mojos always log to console AND unconditionally call writeFile(output, ...) (no-op when null). Every other mojo uses if (output != null) { ... } else { getLog().info(...); }. The dual-write means content is always printed to console even when writing to file. They also do not prepend the "Generated by Maven Help Plugin" header that ActiveProfilesMojo and SystemMojo add.
Files: