Results of duplicate configuration of JavadocMethod check are merged
--------------------------------------------------------------------
Key: MCHECKSTYLE-41
URL: http://jira.codehaus.org/browse/MCHECKSTYLE-41
Project: Maven 2.x Checkstyle Plugin
Type: Bug
Versions: 2.1
Environment: Windows XP, java-SDK 1.5.0.6, Maven 2.0.4
Reporter: Olaf Kossak
Fix For: 2.2
I want to get errors on missing javadoc comments for public and protected
scope, but get warnings for missing javadoc comments for package and private
scope. The checkstyle-results.xml is correct, but the Maven Rules Summary is
incorrect. Both rules summaries display the total of both rules.
<module name="JavadocMethod">
<property name="scope" value="protected" />
<property name="severity" value="error" />
</module>
<module name="JavadocMethod">
<property name="scope" value="private" />
<property name="excludeScope" value="protected" />
<property name="severity" value="warning" />
</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