Return-Path: X-Original-To: apmail-commons-commits-archive@minotaur.apache.org Delivered-To: apmail-commons-commits-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 309DC18D0B for ; Tue, 3 Nov 2015 21:19:01 +0000 (UTC) Received: (qmail 74615 invoked by uid 500); 3 Nov 2015 21:19:00 -0000 Delivered-To: apmail-commons-commits-archive@commons.apache.org Received: (qmail 74199 invoked by uid 500); 3 Nov 2015 21:19:00 -0000 Mailing-List: contact commits-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@commons.apache.org Delivered-To: mailing list commits@commons.apache.org Received: (qmail 74034 invoked by uid 99); 3 Nov 2015 21:19:00 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 03 Nov 2015 21:19:00 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id BC6B8E0B2A; Tue, 3 Nov 2015 21:18:59 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: luc@apache.org To: commits@commons.apache.org Date: Tue, 03 Nov 2015 21:19:05 -0000 Message-Id: <3966152986d64fc9be5744ffba03a1e2@git.apache.org> In-Reply-To: References: X-Mailer: ASF-Git Admin Mailer Subject: [7/7] [math] Set up a customized configuration for PMD. Set up a customized configuration for PMD. Project: http://git-wip-us.apache.org/repos/asf/commons-math/repo Commit: http://git-wip-us.apache.org/repos/asf/commons-math/commit/1f6c1252 Tree: http://git-wip-us.apache.org/repos/asf/commons-math/tree/1f6c1252 Diff: http://git-wip-us.apache.org/repos/asf/commons-math/diff/1f6c1252 Branch: refs/heads/master Commit: 1f6c125267c4882bfb509c24fd36a7fc26f4f897 Parents: 3e0ffb9 Author: Luc Maisonobe Authored: Tue Nov 3 22:09:06 2015 +0100 Committer: Luc Maisonobe Committed: Tue Nov 3 22:09:06 2015 +0100 ---------------------------------------------------------------------- pmd-ruleset.xml | 73 ++++++++++++++++++++++++++++++++++++++++++++++++++++ pom.xml | 8 ++++++ 2 files changed, 81 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/commons-math/blob/1f6c1252/pmd-ruleset.xml ---------------------------------------------------------------------- diff --git a/pmd-ruleset.xml b/pmd-ruleset.xml new file mode 100644 index 0000000..12e6137 --- /dev/null +++ b/pmd-ruleset.xml @@ -0,0 +1,73 @@ + + + + + This ruleset checks the code for discouraged programming constructs. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + http://git-wip-us.apache.org/repos/asf/commons-math/blob/1f6c1252/pom.xml ---------------------------------------------------------------------- diff --git a/pom.xml b/pom.xml index 4da8e9c..65ea6c3 100644 --- a/pom.xml +++ b/pom.xml @@ -471,6 +471,10 @@ ${math.pmd.version} ${maven.compiler.target} + false + + ${basedir}/pmd-ruleset.xml + @@ -671,6 +675,10 @@ ${math.pmd.version} ${maven.compiler.target} + false + + ${basedir}/pmd-ruleset.xml +