Maven CheckStyle Plug-in
Jason van Zyl
Vincent Massol
This plugin generates a nicely formatted
Checkstyle report so
code violations can be easily found and corrected.
Be careful, the following plugins must be installed to use the checkstyle plugin :
- maven-plugin-plugin 1.7 (at least)
- maven-xdoc-plugin 1.10 (at least)
To use older versions of the the dashboard plugin report with the latest version of this one
you need to change these properties:
# Properties for the Checkstyle files aggregator
maven.dashboard.aggregator.csfiles.artifact = ${maven.build.dir}/checkstyle/checkstyle-raw-report.xml
# Properties for the Checkstyle error/warning aggregator (all errors/warnings)
maven.dashboard.aggregator.csall.artifact = ${maven.build.dir}/checkstyle/checkstyle-raw-report.xml
# Properties for the Checkstyle error aggregator (only errors)
maven.dashboard.aggregator.cserrors.artifact = ${maven.build.dir}/checkstyle/checkstyle-raw-report.xml
# Properties for the Checkstyle warning aggregator (only warnings)
maven.dashboard.aggregator.cswarnings.artifact = ${maven.build.dir}/checkstyle/checkstyle-raw-report.xml