Details
Description
mvn package -Pdist -DskipTests -Dtar -Dmaven.javadoc.skip=true fails with the following error
[WARNING] Rule 1: org.apache.maven.plugins.enforcer.BanDuplicateClasses failed with message: Duplicate classes found: Found in: org.apache.hadoop:hadoop-client-minicluster:jar:3.0.0-beta1-SNAPSHOT:compile org.apache.hadoop:hadoop-client-runtime:jar:3.0.0-beta1-SNAPSHOT:compile Duplicate classes: org/apache/hadoop/shaded/io/netty/buffer/ByteBufProcessor$3.class org/apache/hadoop/shaded/io/netty/handler/codec/sctp/SctpOutboundByteStreamHandler.class org/apache/hadoop/shaded/io/netty/handler/codec/rtsp/RtspObjectEncoder.class org/apache/hadoop/shaded/io/netty/channel/AbstractChannel$AbstractUnsafe.class