kikocis/java-driver public
4fa42258f0e5 [maven-release-plugin] prepare release 2.0.12.1 olim7t,
| .. | ||
| README.md | 793 B | |
README.md
Using the shaded JAR
The default driver JAR depends on Netty, which is used internally for networking.
This explicit dependency can be a problem if your application already uses another Netty version. To avoid conflicts, we provide a "shaded" version of the JAR, which bundles the Netty classes under a different package name:
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>cassandra-driver-core</artifactId>
<version>2.0.12.1</version>
<classifier>shaded</classifier>
<!-- Because the shaded JAR uses the original POM, you still need
to exclude this dependency explicitly: -->
<exclusions>
<exclusion>
<groupId>io.netty</groupId>
<artifactId>*</artifactId>
</exclusion>
</exclusions>
</dependency>