[ http://jira.codehaus.org/browse/MPMD-64?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_115444 ]
Xavier Le Vourch commented on MPMD-64: -------------------------------------- This is really an issue with the xml format in pmd. It's not giving the correct info for inner classes, whether they're anonymous or not as the enclosing class name is not part of the report. I'll fix it in pmd itself. > 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 > > 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