From issues-return-130079-archive-asf-public=cust-asf.ponee.io@maven.apache.org Mon Mar 19 22:05:04 2018 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx-eu-01.ponee.io (Postfix) with SMTP id 7C79C18067E for ; Mon, 19 Mar 2018 22:05:03 +0100 (CET) Received: (qmail 92690 invoked by uid 500); 19 Mar 2018 21:05:02 -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 92679 invoked by uid 99); 19 Mar 2018 21:05:02 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 19 Mar 2018 21:05:02 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id 1B1B4C0032 for ; Mon, 19 Mar 2018 21:05:01 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -110.311 X-Spam-Level: X-Spam-Status: No, score=-110.311 tagged_above=-999 required=6.31 tests=[ENV_AND_HDR_SPF_MATCH=-0.5, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01, USER_IN_DEF_SPF_WL=-7.5, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id V_E3Ql39c28t for ; Mon, 19 Mar 2018 21:05:01 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTP id D01825F232 for ; Mon, 19 Mar 2018 21:05:00 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 64F88E0117 for ; Mon, 19 Mar 2018 21:05:00 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 2461C214B2 for ; Mon, 19 Mar 2018 21:05:00 +0000 (UTC) Date: Mon, 19 Mar 2018 21:05:00 +0000 (UTC) From: "Andreas Dangel (JIRA)" To: issues@maven.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (MPMD-256) Add maxAllowedViolations property for PMD MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/MPMD-256?page=3Dcom.atlassian.= jira.plugin.system.issuetabpanels:all-tabpanel ] Andreas Dangel updated MPMD-256: -------------------------------- Issue Type: New Feature (was: Bug) > Add maxAllowedViolations property for PMD > ----------------------------------------- > > Key: MPMD-256 > URL: https://issues.apache.org/jira/browse/MPMD-256 > Project: Maven PMD Plugin > Issue Type: New Feature > Components: PMD > Reporter: Andreas Dangel > Priority: Major > Fix For: 3.10.0 > > > Add the ability to set the maximum number of allowed violations before a = build fails. > The idea being that you could set a threshold of errors before the build = would actually fail, instead of the default of 1. This would be useful for = legacy code that had not always been using PMD and needs to be cleaned up o= ver time. If the value is set then the code can't get worse and people can = use it to help clean up their projects. > This is similar to the checkstyle property [http://maven.apache.org/plugi= ns/maven-checkstyle-plugin/check-mojo.html#maxAllowedViolations] > =C2=A0 > PR: [https://github.com/apache/maven-pmd-plugin/pull/1] > =C2=A0 -- This message was sent by Atlassian JIRA (v7.6.3#76005)