From 896414e305ee079c7a4ab3e08d51febd43003338 Mon Sep 17 00:00:00 2001 From: Anu Engineer Date: Thu, 24 Aug 2017 21:03:39 -0700 Subject: [PATCH] HDFS-12341. Ozone: maven dist compilation fails with "Duplicate classes found" error. Contributed by Mukul Kumar Singh. --- .../hadoop-hdfs-client/pom.xml | 21 +++++++------------ hadoop-hdfs-project/hadoop-hdfs/pom.xml | 5 ----- 2 files changed, 8 insertions(+), 18 deletions(-) diff --git a/hadoop-hdfs-project/hadoop-hdfs-client/pom.xml b/hadoop-hdfs-project/hadoop-hdfs-client/pom.xml index 71ed98ade7c..fa79d146ddf 100644 --- a/hadoop-hdfs-project/hadoop-hdfs-client/pom.xml +++ b/hadoop-hdfs-project/hadoop-hdfs-client/pom.xml @@ -63,11 +63,6 @@ http://maven.apache.org/xsd/maven-4.0.0.xsd"> mockito-all test - - io.netty - netty-all - test - org.mock-server mockserver-netty @@ -105,14 +100,14 @@ http://maven.apache.org/xsd/maven-4.0.0.xsd"> test test-jar - - com.fasterxml.jackson.core - jackson-annotations - - - io.netty - netty-all - + + com.fasterxml.jackson.core + jackson-annotations + + + io.netty + netty-all + com.fasterxml.jackson.core jackson-databind diff --git a/hadoop-hdfs-project/hadoop-hdfs/pom.xml b/hadoop-hdfs-project/hadoop-hdfs/pom.xml index bebb8d1ef82..105c8bdce46 100644 --- a/hadoop-hdfs-project/hadoop-hdfs/pom.xml +++ b/hadoop-hdfs-project/hadoop-hdfs/pom.xml @@ -168,11 +168,6 @@ http://maven.apache.org/xsd/maven-4.0.0.xsd"> netty compile - - io.netty - netty-all - compile - org.apache.htrace htrace-core4