Skip to content

Commit 35c0765

Browse files
committed
Netty version clash workaround
Signed-off-by: Alex Black <[email protected]>
1 parent 95cf004 commit 35c0765

File tree

1 file changed

+22
-6
lines changed

1 file changed

+22
-6
lines changed

datavec-examples/pom.xml

Lines changed: 22 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,12 @@
3030

3131

3232
<dependencies>
33+
<dependency>
34+
<groupId>io.netty</groupId>
35+
<artifactId>netty-all</artifactId>
36+
<version>4.1.42.Final</version>
37+
</dependency>
38+
3339
<dependency>
3440
<groupId>org.datavec</groupId>
3541
<artifactId>datavec-api</artifactId>
@@ -46,6 +52,16 @@
4652
<groupId>org.datavec</groupId>
4753
<artifactId>datavec-local</artifactId>
4854
<version>${datavec.version}</version>
55+
<exclusions>
56+
<exclusion>
57+
<groupId>io.netty</groupId>
58+
<artifactId>netty-buffer</artifactId>
59+
</exclusion>
60+
<exclusion>
61+
<groupId>io.netty</groupId>
62+
<artifactId>netty-common</artifactId>
63+
</exclusion>
64+
</exclusions>
4965
</dependency>
5066
<dependency>
5167
<groupId>org.deeplearning4j.examples</groupId>
@@ -57,12 +73,12 @@
5773
<groupId>org.apache.spark</groupId>
5874
<artifactId>spark-core_${scala.binary.version}</artifactId>
5975
<version>${spark.version}</version>
60-
</dependency>
61-
62-
<dependency>
63-
<groupId>io.netty</groupId>
64-
<artifactId>netty-all</artifactId>
65-
<version>4.1.42.Final</version>
76+
<exclusions>
77+
<exclusion>
78+
<groupId>io.netty</groupId>
79+
<artifactId>netty</artifactId>
80+
</exclusion>
81+
</exclusions>
6682
</dependency>
6783
</dependencies>
6884

0 commit comments

Comments
 (0)