You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by mc...@apache.org on 2020/04/14 18:15:13 UTC

[cassandra] branch trunk updated: Exclude JNA from Chronicle's dependencies to avoid bringing wrong versions into consumers of Cassandra as a library

This is an automated email from the ASF dual-hosted git repository.

mck pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/cassandra.git


The following commit(s) were added to refs/heads/trunk by this push:
     new 52a55d8  Exclude JNA from Chronicle's dependencies to avoid bringing wrong versions into consumers of Cassandra as a library
52a55d8 is described below

commit 52a55d821a2c4352dcbca013386e3cb45e376eed
Author: Mick Semb Wever <mc...@apache.org>
AuthorDate: Wed Apr 8 13:03:51 2020 +0200

    Exclude JNA from Chronicle's dependencies to avoid bringing wrong versions into consumers of Cassandra as a library
    
     patch by Doug Rohrer; reviewed Ryan Svihla, Jon Meredith, Mick Semb Wever for CASSANDRA-15647
---
 build.xml | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/build.xml b/build.xml
index f22f4a9..cdc3c64 100644
--- a/build.xml
+++ b/build.xml
@@ -592,7 +592,11 @@
           <dependency groupId="net.openhft" artifactId="chronicle-core" version="${chronicle-core.version}"/>
           <dependency groupId="net.openhft" artifactId="chronicle-bytes" version="${chronicle-bytes.version}"/>
           <dependency groupId="net.openhft" artifactId="chronicle-wire" version="${chronicle-wire.version}"/>
-          <dependency groupId="net.openhft" artifactId="chronicle-threads" version="${chronicle-threads.version}"/>
+	  <dependency groupId="net.openhft" artifactId="chronicle-threads" version="${chronicle-threads.version}">
+		  <!-- Exclude JNA here, as we want to avoid breaking consumers of the cassandra-all jar -->
+		  <exclusion groupId="net.java.dev.jna" artifactId="jna" />
+		  <exclusion groupId="net.java.dev.jna" artifactId="jna-platform" />
+	  </dependency>
           <dependency groupId="com.google.code.findbugs" artifactId="jsr305" version="2.0.2" />
           <dependency groupId="com.clearspring.analytics" artifactId="stream" version="2.5.2" />
           <dependency groupId="com.datastax.cassandra" artifactId="cassandra-driver-core" version="3.6.0" classifier="shaded">


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org