You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Johan Andrén (JIRA)" <ji...@codehaus.org> on 2009/10/28 10:10:27 UTC

[jira] Commented: (MPMD-109) Class name not printed in pmd:check output

    [ http://jira.codehaus.org/browse/MPMD-109?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=196370#action_196370 ] 

Johan Andrén commented on MPMD-109:
-----------------------------------

Our  configuration block from the pom:

 <configuration>
                        <targetJdk>1.6</targetJdk>
                        <sourceEncoding>UTF-8</sourceEncoding>
                        <verbose>true</verbose>
                        <rulesets>
                            <ruleset>/se/databyran/general-required.xml</ruleset>
                            <!-- our own rulesets -->
                            <ruleset>/se/databyran/prosang/nbmmoduleruleset.xml</ruleset>
                        </rulesets>
                    </configuration>

> 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