[
http://jira.codehaus.org/browse/MPMD-109?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=196389#action_196389
]
Johan Andrén commented on MPMD-109:
-----------------------------------
I have checked. Putting the rule violation in a field declaration, a
constructor and a static method all yields the same result with no classname.
The problem is only in the maven plugin stdout output. In the pmd-file the
entire class names are written.
> Class name not printed in pmd:check output
> ------------------------------------------
>
> Key: MPMD-109
> URL: http://jira.codehaus.org/browse/MPMD-109
> Project: Maven 2.x PMD Plugin
> Issue Type: Improvement
> Components: PMD
> Affects Versions: 2.4
> Reporter: Johan Andrén
>
> When we get pmd:check failures only package name and line is printed. It
> would be very nice to get class name as well.
> Example output:
> [pmd:check]
> PMD Failure: se.databyran.prosang.client.core.util.form.dialogs.13
> Rule:AutoGenerateMnemonicsRequired Priority:3 All forms and panels must have
> the 'auto generate mnemonics' property set.
> PMD Failure: se.databyran.prosang.client.core.util.gui.62
> Rule:AutoGenerateMnemonicsRequired Priority:3 All forms and panels must have
> the 'auto generate mnemonics' property set.
> PMD Failure: se.databyran.prosang.client.core.util.search.44
> Rule:AutoGenerateMnemonicsRequired Priority:3 All forms and panels must have
> the 'auto generate mnemonics' property set.
> PMD Failure: se.databyran.prosang.client.core.util.search.FinderDialog:70
> Rule:AutoGenerateMnemonicsRequired Priority:3 All forms and panels must have
> the 'auto generate mnemonics' property set.
--
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