Dennis Lundberg created MPMD-172:
------------------------------------

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


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 is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to