You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Dennis Lundberg (JIRA)" <ji...@codehaus.org> on 2008/02/03 13:31:57 UTC
[jira] Closed: (MCHECKSTYLE-40) Some checks need the compiled
classes (for instance JavadocMethod)
[ http://jira.codehaus.org/browse/MCHECKSTYLE-40?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Dennis Lundberg closed MCHECKSTYLE-40.
--------------------------------------
Assignee: Dennis Lundberg
Resolution: Fixed
Fix Version/s: 2.2
A patch for this was committed in r617979.
A new 2.2-SNAPSHOT has been deployed. Please verify that it solves this issue.
Note: the sources have to be compiled *before* the Checkstyle plugin is called for this to work.
> 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
> Issue Type: Bug
> Environment: Checkstyle 4.1
> Reporter: Fabian Bauschulte
> Assignee: Dennis Lundberg
> Priority: Minor
> Fix For: 2.2
>
> 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