You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Chad Woolley <li...@thewoolleyweb.com> on 2003/12/07 20:38:17 UTC

Problems with Checkstyle plugin in RC1, solved by making plugin use checkstyle 3.2 instead of 3.1

Hi,

When I upgraded to RC1, I kept ketting the following checkstyle error:

BUILD FAILED
File...... file:/J:/Documents and 
Settings/Administrator/.maven/plugins/maven-checkstyle-plugin-2.0/
Element... ant:checkstyle
Line...... 127
Column.... 65
Unable to create a Checker: cannot initialize module TreeWalker - Unable to 
instantiate JavadocStyle
Total time: 11 seconds
Finished at: Sun Dec 07 12:15:34 GMT-07:00 2003


When I ran checkstyle from the command line with checkstyle 3.2, I had no problems


So, I changed to version 3.2 in the checkstyle plugin project.xml:

     <dependency>
       <groupId>checkstyle</groupId>
       <artifactId>checkstyle</artifactId>
       <version>3.2</version>
       <properties>
         <classloader>root</classloader>
       </properties>
     </dependency>


Then, everything worked.

I think the plugin needs to be updated to 3.2.

Thanks,
Chad






---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org