Add snappy and metrics-core as compile time dependencies to zkfacade
Zookeeper artifact requires them (both for runtime and to ensure
import-package is not generated for packages from those artifacts).
<artifactId>zookeeper</artifactId>
<version>${zookeeper.client.version}</version>
</dependency>
+ <!-- snappy-java and metrics-core are included here
+ to be able to work with ZooKeeper 3.6.2 due to
+ class loading issues -->
+ <dependency>
+ <groupId>io.dropwizard.metrics</groupId>
+ <artifactId>metrics-core</artifactId>
+ <scope>compile</scope>
+ <version>3.2.5</version>
+ </dependency>
+ <dependency>
+ <groupId>org.xerial.snappy</groupId>
+ <artifactId>snappy-java</artifactId>
+ <scope>compile</scope>
+ <version>1.1.7</version>
+ </dependency>
<dependency>
<groupId>org.mockito</groupId>
<artifactId>mockito-core</artifactId>
