maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dennis Lundberg (JIRA)" <j...@codehaus.org>
Subject [jira] Closed: (MPMD-69) line number is not displayed in pmd check report
Date Wed, 02 Jan 2008 22:24:57 GMT

     [ http://jira.codehaus.org/browse/MPMD-69?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Dennis Lundberg closed MPMD-69.
-------------------------------

         Assignee: Dennis Lundberg
       Resolution: Fixed
    Fix Version/s: 2.3

Patch applied. Thanks!

> line number is not displayed in pmd check report
> ------------------------------------------------
>
>                 Key: MPMD-69
>                 URL: http://jira.codehaus.org/browse/MPMD-69
>             Project: Maven 2.x PMD Plugin
>          Issue Type: Bug
>          Components: PMD
>            Reporter: Xavier Le Vourch
>            Assignee: Dennis Lundberg
>             Fix For: 2.3
>
>         Attachments: BeginLine.txt
>
>
> The line number is not displayed correctly in the pmd reports, null is displayed instead.
This is a result of updating to pmd 4.1 as the xml report now has the begin and end lines.
> Running "mvn test" will show the behavior:
> [INFO] PMD Warning: def.configuration.null Rule:UnusedImports Priority:4 Avoid unused
imports such as 'java.io.File'.
> [INFO] PMD Failure: def.configuration.App:null Rule:UnusedPrivateField Priority:3 Avoid
unused private fields such as 'unusedVar2'..
> With the attached patch the beginline is there:
> [INFO] PMD Warning: def.configuration.22 Rule:UnusedImports Priority:4 Avoid unused imports
such as 'java.io.File'.
> [INFO] PMD Failure: def.configuration.App:31 Rule:UnusedPrivateField Priority:3 Avoid
unused private fields such as 'unusedVar2'..

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

        

Mime
View raw message