From f83d4bf62d72d8213f0e6689eca6c8034d39dd2c Mon Sep 17 00:00:00 2001 From: Mark Paluch Date: Mon, 22 Aug 2016 11:07:02 +0200 Subject: [PATCH] DATACASS-331 - Include netty as transient dependency of cassandra-driver-dse. Remove the previously added netty dependency exclusion in 237ac88 to include netty as transient dependency. Netty was excluded because of a dependency conflict between cassandra-driver-dse and cassandra-all. The conflict gets visible during build-time on CI hosts with symptoms of 100% CPU usage or network timeouts. We now use netty 4.0.23.Final (from cassandra-all 2.1.11) during the tests. Users of spring-cql and spring-data-cassandra depend on netty 4.0.27.Final (from of cassandra-driver-dse). Related pull request: #43. --- pom.xml | 5 +-- spring-cql/pom.xml | 33 +++++++++++++++++++ .../src/test/resources/logback-test.xml | 2 +- spring-data-cassandra/pom.xml | 32 ++++++++++++++++++ 4 files changed, 67 insertions(+), 5 deletions(-) diff --git a/pom.xml b/pom.xml index 0cda58cf8..2496f50f1 100644 --- a/pom.xml +++ b/pom.xml @@ -34,6 +34,7 @@ 2.16 0.3.1 2.1.11 + 4.0.23.Final 2.1.7.1 1.01 @@ -108,10 +109,6 @@ guava com.google.guava - - netty-handler - io.netty - diff --git a/spring-cql/pom.xml b/spring-cql/pom.xml index 9737030f8..45920c5a6 100644 --- a/spring-cql/pom.xml +++ b/spring-cql/pom.xml @@ -91,8 +91,41 @@ guava com.google.guava + + io.netty + netty-all + + + + io.netty + netty-handler + ${netty.version} + test + + + + io.netty + netty-buffer + ${netty.version} + test + + + + io.netty + netty-codec + ${netty.version} + test + + + + io.netty + netty-transport + ${netty.version} + test + + com.google.guava guava diff --git a/spring-cql/src/test/resources/logback-test.xml b/spring-cql/src/test/resources/logback-test.xml index 2fdffd95c..3ef1e2718 100644 --- a/spring-cql/src/test/resources/logback-test.xml +++ b/spring-cql/src/test/resources/logback-test.xml @@ -17,4 +17,4 @@ - \ No newline at end of file + diff --git a/spring-data-cassandra/pom.xml b/spring-data-cassandra/pom.xml index 4b8b7ce2b..3d0f56ed0 100644 --- a/spring-data-cassandra/pom.xml +++ b/spring-data-cassandra/pom.xml @@ -99,9 +99,41 @@ guava com.google.guava + + io.netty + netty-all + + + io.netty + netty-handler + ${netty.version} + test + + + + io.netty + netty-buffer + ${netty.version} + test + + + + io.netty + netty-codec + ${netty.version} + test + + + + io.netty + netty-transport + ${netty.version} + test + + org.codehaus.jackson jackson-mapper-asl