Details
-
Type:
Bug
-
Status:
Open
-
Priority:
Major
-
Resolution: Unresolved
-
Affects Version/s: 2.2
-
Fix Version/s: None
-
Labels:None
-
Environment:Windows, JDK1.5, Maven 1.7
-
Number of attachments :
Description
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.
Have anyone tried this using one of the newer version of maven-checkstyle-plugin?