This is an automated email from the ASF dual-hosted git repository.
eolivelli pushed a commit to branch release-3.6.0
in repository https://gitbox.apache.org/repos/asf/zookeeper.git
The following commit(s) were added to refs/heads/release-3.6.0 by this push:
new df37eb6 ZOOKEEPER-3703: publish a test JAR
df37eb6 is described below
commit df37eb6e274db9c9b4cf0642cadb095bc04096ab
Author: Jordan Zimmerman <jordan@[email protected]>
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 <jordan@[email protected]>
Reviewers: Enrico Olivelli <[email protected]>, Norbert Kalmar
<[email protected]>
Closes #1229 from Randgalt/ZOOKEEPER-3703-publish-test-jar
(cherry picked from commit 6db92d7dfa426488b191afba319a16b96f4a36c6)
Signed-off-by: Enrico Olivelli <[email protected]>
---
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 cdccfae..89b9087 100755
--- a/zookeeper-server/pom.xml
+++ b/zookeeper-server/pom.xml
@@ -295,7 +295,20 @@
</systemPropertyVariables>
</configuration>
</plugin>
- </plugins>
+
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-jar-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>publish-test-jar</id>
+ <goals>
+ <goal>test-jar</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
</build>
</project>