Return-Path: X-Original-To: apmail-maven-issues-archive@minotaur.apache.org Delivered-To: apmail-maven-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id D1A8E105D1 for ; Mon, 1 Jul 2013 10:28:33 +0000 (UTC) Received: (qmail 67210 invoked by uid 500); 1 Jul 2013 10:28:32 -0000 Delivered-To: apmail-maven-issues-archive@maven.apache.org Received: (qmail 67158 invoked by uid 500); 1 Jul 2013 10:28:30 -0000 Mailing-List: contact issues-help@maven.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@maven.apache.org Delivered-To: mailing list issues@maven.apache.org Received: (qmail 66676 invoked by uid 99); 1 Jul 2013 10:28:29 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 01 Jul 2013 10:28:29 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [199.193.192.100] (HELO codehaus01.managed.contegix.com) (199.193.192.100) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 01 Jul 2013 10:28:25 +0000 Received: from codehaus01 (localhost.localdomain [127.0.0.1]) by codehaus01.managed.contegix.com (Postfix) with ESMTP id 895D4B10A0 for ; Mon, 1 Jul 2013 05:28:05 -0500 (CDT) Date: Mon, 1 Jul 2013 05:28:05 -0500 (CDT) From: "Olivier Lamy (JIRA)" To: issues@maven.apache.org Message-ID: In-Reply-To: References: Subject: [jira] (MPMD-168) Skip report generation if results are empty MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 22cf62d5d84cf5bea94eb3b65e0ebd09 X-Virus-Checked: Checked by ClamAV on apache.org [ https://jira.codehaus.org/browse/MPMD-168?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Olivier Lamy updated MPMD-168: ------------------------------ Fix Version/s: 3.1 Assignee: Olivier Lamy > 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 > Assignee: Olivier Lamy > Fix For: 3.1 > > > 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