Skip to content

Commit

Permalink
ZOOKEEPER-3703: publish a test JAR
Browse files Browse the repository at this point in the history
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
  • Loading branch information
Jordan Zimmerman authored and eolivelli committed Feb 4, 2020
1 parent 6763f73 commit 6db92d7
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion zookeeper-server/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -294,7 +294,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>

0 comments on commit 6db92d7

Please sign in to comment.