diff --git a/checkstyle/plugin.jelly b/checkstyle/plugin.jelly index b3df6eb6..c93457e7 100644 --- a/checkstyle/plugin.jelly +++ b/checkstyle/plugin.jelly @@ -208,12 +208,12 @@ + toFile="${maven.checkstyle.output.xml}"/> + toFile="${maven.checkstyle.output.txt}"/> @@ -229,8 +229,9 @@ + Generating report for severity ${severity}... + Added properties maven.checkstyle.output.xml and maven.checkstyle.output.txt It requires at least maven-plugin-plugin v1.7. It requires at least maven-xdoc-plugin v1.10. The checkstyle plugin use the maven.xdoc.locale.default to generate the report. diff --git a/checkstyle/xdocs/properties.xml b/checkstyle/xdocs/properties.xml index 49c7833f..c4c97fad 100644 --- a/checkstyle/xdocs/properties.xml +++ b/checkstyle/xdocs/properties.xml @@ -137,6 +137,22 @@ suppressions file. + + maven.checkstyle.output.xml + Yes + + Output file where the xml report is written. + Defaults to ${maven.build.dir}/checkstyle-raw-report.xml. + + + + maven.checkstyle.output.txt + Yes + + Output file where the txt report is written. + Defaults to ${maven.build.dir}/checkstyle-raw-report.txt. + +