From a445cab9f06931abc5696dfae918f55d64a61600 Mon Sep 17 00:00:00 2001 From: Xin Qiu Date: Tue, 7 Nov 2017 15:42:32 +0800 Subject: [PATCH] [backport-0.3] use shade to package jar-with-dependencies (#1840) * use shade to package jar-with-dependencies * ajust incident --- spark/dl/pom.xml | 37 +++++++++++++++++++------------------ 1 file changed, 19 insertions(+), 18 deletions(-) diff --git a/spark/dl/pom.xml b/spark/dl/pom.xml index 6fe0819aea5..8a4db06d7e4 100644 --- a/spark/dl/pom.xml +++ b/spark/dl/pom.xml @@ -167,11 +167,6 @@ maven-shade-plugin 3.0.0 - - - com.google.protobuf - - com.google.protobuf @@ -189,30 +184,36 @@ + shade package shade + + + + com.google.protobuf + + + - - - - - org.apache.maven.plugins - maven-assembly-plugin - without-spark - - - jar-with-dependencies - - package - single + shade + + true + jar-with-dependencies + + + + + org.apache.maven.plugins + maven-assembly-plugin + with-spark