Apply MAVEN-843. Allow checkstyle access to the classpath Add test project Added ignoreLines 1, 6 update to use maven.docs.*/maven.gen.docs Add maven dependency and classes directory to classpath. This stops 'Unable to get class information for '<classname>' errors. Add xml declaration to generated report. Fixed for character encoding. Fixed MAVEN-493. I register reports only if source, test,... exists. So, corresponding entrys in menu will appear only if reports are registered. Fixed Maven-489. Upgraded to Checkstyle 3.1. Updated documentation. Complete clean of the existing plugin. Added a new maven.checkstyle.useFile property. If false, the checkstyle task will display violations on stdout. If true, a text file will be created with the violations. Note: this is in addition to the XML result file (containing the violations in XML format) which is always created.