Report generated even when no input files present
-------------------------------------------------

                 Key: MPMD-73
                 URL: http://jira.codehaus.org/browse/MPMD-73
             Project: Maven 2.x PMD Plugin
          Issue Type: Bug
    Affects Versions: 2.3
            Reporter: Simon Kitching
            Priority: Minor


Most maven report plugins will not generate a report if there are no input 
files. For example, a pom that defines the javadoc report plugin but has no 
source does not get a javadoc report.

However the pmd plugin generates empty pmd and cmd reports even for projects 
that have no source. In particular this means that parent poms that want to 
define pmd reports for the child modules get a "project reports" menu with 
pointless pmd/cmd pages. Given that poms lack a "pluginManagement" pom section, 
this is quite annoying.

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

        

Reply via email to