You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Benjamin Bentmann (JIRA)" <ji...@codehaus.org> on 2008/04/19 01:06:55 UTC

[jira] Commented: (MPMD-64) verbose output not useful for inner classes

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

Benjamin Bentmann commented on MPMD-64:
---------------------------------------

I've updated the plugin's dependency on PMD to 4.2.1 (MPMD-78), so this should be fixed. Unfortunately, I can't deploy a new snapshot for users to test right now due to permission problems.

> verbose output not useful for inner classes
> -------------------------------------------
>
>                 Key: MPMD-64
>                 URL: http://jira.codehaus.org/browse/MPMD-64
>             Project: Maven 2.x PMD Plugin
>          Issue Type: Improvement
>          Components: PMD
>    Affects Versions: 2.2
>            Reporter: Sean Bridges
>            Priority: Minor
>         Attachments: version_update.txt
>
>
> With verbose output on, a pmd error in an inner class will produce output like,
> [INFO] PMD Failure: foo.bar.Anonymous$1:182 Rule:SignatureDeclareThrowsException Priority:3 A method/constructor shouldn't explicitly throw java.lang.Exception.
> Rather than printing the class name, it would be more useful to print out the file name.

-- 
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