You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Dennis Lundberg (JIRA)" <ji...@codehaus.org> on 2014/03/10 16:16:59 UTC

[jira] (MPMD-172) Warning about missing XRef for module with no source

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

Dennis Lundberg closed MPMD-172.
--------------------------------

    Resolution: Fixed

Fixed in r1575964.

> Warning about missing XRef for module with no source
> ----------------------------------------------------
>
>                 Key: MPMD-172
>                 URL: https://jira.codehaus.org/browse/MPMD-172
>             Project: Maven PMD Plugin
>          Issue Type: Bug
>    Affects Versions: 3.0.1
>            Reporter: Dennis Lundberg
>            Assignee: Dennis Lundberg
>             Fix For: 3.1
>
>
> If you run pmd:pmd on a project that does not have any (java) sources - only resources, the following warning is issued:
> [WARNING] Unable to locate Source XRef to link to - DISABLED
> This warning can only be suppressed through configuration if we skip pmd for that particular project/module.
> The warning is bogus though, because there are no sources that PMD will check, so there is no need to check for any XRef to start with.
> It should be possible to delay checking for XRef until it has been determined that the sources actually exist. I'm working on a patch.
> All of the above also applies to pmd:cpd.



--
This message was sent by Atlassian JIRA
(v6.1.6#6162)