[ https://jira.codehaus.org/browse/MCHECKSTYLE-224?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Dennis Lundberg moved MPMD-185 to MCHECKSTYLE-224: -------------------------------------------------- Fix Version/s: (was: 3.1) Affects Version/s: (was: 3.0.1) 2.12 Key: MCHECKSTYLE-224 (was: MPMD-185) Project: Maven Checkstyle Plugin (was: Maven PMD Plugin) > CLONE - Warning about missing XRef for module with no source > ------------------------------------------------------------ > > Key: MCHECKSTYLE-224 > URL: https://jira.codehaus.org/browse/MCHECKSTYLE-224 > Project: Maven Checkstyle Plugin > Issue Type: Bug > Affects Versions: 2.12 > Reporter: Dennis Lundberg > Assignee: 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 was sent by Atlassian JIRA (v6.1.6#6162)