From commits-return-8167-archive-asf-public=cust-asf.ponee.io@zookeeper.apache.org Tue Feb 4 09:43:57 2020 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 [207.244.88.153]) by mx-eu-01.ponee.io (Postfix) with SMTP id A537C18064E for ; Tue, 4 Feb 2020 10:43:57 +0100 (CET) Received: (qmail 73429 invoked by uid 500); 4 Feb 2020 09:43:54 -0000 Mailing-List: contact commits-help@zookeeper.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@zookeeper.apache.org Delivered-To: mailing list commits@zookeeper.apache.org Received: (qmail 73335 invoked by uid 99); 4 Feb 2020 09:43:54 -0000 Received: from ec2-52-202-80-70.compute-1.amazonaws.com (HELO gitbox.apache.org) (52.202.80.70) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 04 Feb 2020 09:43:54 +0000 Received: by gitbox.apache.org (ASF Mail Server at gitbox.apache.org, from userid 33) id 319238B687; Tue, 4 Feb 2020 09:43:54 +0000 (UTC) Date: Tue, 04 Feb 2020 09:43:54 +0000 To: "commits@zookeeper.apache.org" Subject: [zookeeper] branch branch-3.6 updated: ZOOKEEPER-3703: publish a test JAR MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Message-ID: <158080943398.19887.14896156657200668274@gitbox.apache.org> From: eolivelli@apache.org X-Git-Host: gitbox.apache.org X-Git-Repo: zookeeper X-Git-Refname: refs/heads/branch-3.6 X-Git-Reftype: branch X-Git-Oldrev: d95c5a3d6f1e0be77c4838d85c526d226b7798a3 X-Git-Newrev: 3008ab70ea418ef97a4ccff968b96a4b5198a96c X-Git-Rev: 3008ab70ea418ef97a4ccff968b96a4b5198a96c X-Git-NotificationType: ref_changed_plus_diff X-Git-Multimail-Version: 1.5.dev Auto-Submitted: auto-generated This is an automated email from the ASF dual-hosted git repository. eolivelli pushed a commit to branch branch-3.6 in repository https://gitbox.apache.org/repos/asf/zookeeper.git The following commit(s) were added to refs/heads/branch-3.6 by this push: new 3008ab7 ZOOKEEPER-3703: publish a test JAR 3008ab7 is described below commit 3008ab70ea418ef97a4ccff968b96a4b5198a96c Author: Jordan Zimmerman AuthorDate: Tue Feb 4 10:43:30 2020 +0100 ZOOKEEPER-3703: publish a test JAR It would be very helpful to Apache Curator and others if ZooKeeper published its testing code as a Maven Test JAR. Curator, for example, could use it to improve its testing server to make it easier to inject error conditions without having to have forced time delays and other hacks. NOTE: if we move forward with gRPC (ZOOKEEPER-102) that would be in a new module and this would be required. So, might as well do it now. Author: Jordan Zimmerman Reviewers: Enrico Olivelli , Norbert Kalmar Closes #1229 from Randgalt/ZOOKEEPER-3703-publish-test-jar (cherry picked from commit 6db92d7dfa426488b191afba319a16b96f4a36c6) Signed-off-by: Enrico Olivelli --- zookeeper-server/pom.xml | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/zookeeper-server/pom.xml b/zookeeper-server/pom.xml index 7a72b37..5fb044a 100755 --- a/zookeeper-server/pom.xml +++ b/zookeeper-server/pom.xml @@ -295,7 +295,20 @@ - + + + org.apache.maven.plugins + maven-jar-plugin + + + publish-test-jar + + test-jar + + + + +