You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Xavier Le Vourch (JIRA)" <ji...@codehaus.org> on 2008/01/02 23:05:57 UTC

[jira] Created: (MPMD-69) line number is not displayed in pmd check report

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

        

[jira] Closed: (MPMD-69) line number is not displayed in pmd check report

Posted by "Dennis Lundberg (JIRA)" <ji...@codehaus.org>.
     [ 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