Error in site whith 2 Regexp checks
-----------------------------------
Key: MCHECKSTYLE-103
URL: http://jira.codehaus.org/browse/MCHECKSTYLE-103
Project: Maven 2.x Checkstyle Plugin
Issue Type: Bug
Affects Versions: 2.2
Environment: Windows, Maven 1.7, Java 5
Reporter: Benjamin Pochat
Attachments: checkstyle-result.xml, screenshot.JPG
I have 2 different Regexp checks with 2 different regular expressions as
described above.
In the site, in the "Rules" part, I have 2 lines for the 2 checks. This is ok.
The issue is that the 2 lines have the same number of violations, wherease the
second regexp is never matched over the whole project (cf the screenshot and
the xml result provided as an attachment).
<module name="Checker">
<module name="TreeWalker">
<module name="Regexp">
<property name="id" value="test1"/>
<property name="format" value="(.*)(\bEvenement\b)(.*)"/>
<property name="illegalPattern" value="true"/>
<property name="ignoreComments" value="true"/>
</module>
<module name="Regexp">
<property name="id" value="test2"/>
<property name="format" value="(.*)(\bXvenement\b)(.*)"/>
<property name="illegalPattern" value="true"/>
<property name="ignoreComments" value="true"/>
</module>
</module>
</module>
--
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