[
https://jira.codehaus.org/browse/MCHECKSTYLE-102?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=290587#comment-290587
]
Dennis Lundberg commented on MCHECKSTYLE-102:
---------------------------------------------
Have anyone tried this using one of the newer version of
maven-checkstyle-plugin?
> errors in site for regexp checks with "message" property
> --------------------------------------------------------
>
> Key: MCHECKSTYLE-102
> URL: https://jira.codehaus.org/browse/MCHECKSTYLE-102
> Project: Maven 2.x Checkstyle Plugin
> Issue Type: Bug
> Affects Versions: 2.2
> Environment: Windows, JDK1.5, Maven 1.7
> Reporter: Benjamin Pochat
> Attachments: screenshot.JPG
>
>
> Hi,
> It seems that the site built by the CheckStyle plugin is wrong if we use
> regexp check containing the "message" property.
> The error is in the total of violations by rule ("Rules" part). The number of
> violation is always null for such checks, even if checkstyle shows such
> violations in the "Details" part.
> For instance, i tried this check :
> <module name="Checker">
> <module name="TreeWalker">
> <module name="Regexp">
> <property name="format" value="(.*)(\bEvenement\b)(.*)"/>
> <property name="illegalPattern" value="true"/>
> <property name="ignoreComments" value="true"/>
> <property name="test" value="true"/>
> </module>
> </module>
> </module>
> A screen shot of the site is given as an attachment.
> If I remove the message property in the check definition, the site is correct.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira