From bd6a334cac29671ff4ecae3411e77f2aa6d4ca02 Mon Sep 17 00:00:00 2001 From: Jordan Zimmerman Date: Tue, 4 Feb 2020 10:43:30 +0100 Subject: [PATCH] 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 --- 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 86b578d4faf..444e8244ff7 100755 --- a/zookeeper-server/pom.xml +++ b/zookeeper-server/pom.xml @@ -294,7 +294,20 @@ - + + + org.apache.maven.plugins + maven-jar-plugin + + + publish-test-jar + + test-jar + + + + +