You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Herve Boutemy (JIRA)" <ji...@codehaus.org> on 2010/05/01 01:06:12 UTC

[jira] Closed: (MPMD-73) Report generated even when no input files present

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

Herve Boutemy closed MPMD-73.
-----------------------------

       Resolution: Fixed
    Fix Version/s: 2.5

> 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
>             Fix For: 2.5
>
>
> 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