Some checks need the compiled classes (for instance JavadocMethod)
------------------------------------------------------------------

         Key: MCHECKSTYLE-40
         URL: http://jira.codehaus.org/browse/MCHECKSTYLE-40
     Project: Maven 2.x Checkstyle Plugin
        Type: Bug

 Environment: Checkstyle 4.1
    Reporter: Fabian Bauschulte
    Priority: Minor
 Attachments: example-project.zip

Some standard checks - for instance "JavadocMethod" need the compiled classes; 
overwise terminate with an internal error. The documentation of checkstyle says 
for  "JavadocMethod": [...] "The classpath may need to be configured to locate 
the class information. The classpath configuration is dependent on the 
mechanism used to invoke Checkstyle." 

Checkstyle tries to analyse if a thrown exception extends RuntimeException - if 
this information isn“t there it causes an error.

It's possible that during site generation the compiled classes don't. If there 
isn't a general solution it would be helpful to place a workaround or a hint in 
the documentation.  



-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira

Reply via email to