[
https://jira.codehaus.org/browse/MPMD-168?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=324682#comment-324682
]
Andreas Dangel commented on MPMD-168:
-------------------------------------
Pull request: https://github.com/apache/maven-plugins/pull/11
Please note, that the new parameter is called "skipEmptyReport" and it is by
default *not true* to be backwards compatible.
However, thinking over, I guess it's not a big deal to change the behaviour
here and it seems to be a better default conventional
configuration.
> Skip report generation if results are empty
> -------------------------------------------
>
> Key: MPMD-168
> URL: https://jira.codehaus.org/browse/MPMD-168
> Project: Maven 2.x PMD Plugin
> Issue Type: Bug
> Reporter: Michael Osipov
>
> Most report plugin simply skip report generation if there is nothing to
> display. This plugin should do the same. A parameter like {{skipIfEmpty}}
> should be added with default value {{true}}. The evaluation should happen in
> the {{canGenerate}} method.
--
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