From 60301e5d1dc2833a1f8ca2b22f0e17861e1826e7 Mon Sep 17 00:00:00 2001 From: qiuxin2012 Date: Tue, 7 Nov 2017 14:18:42 +0800 Subject: [PATCH 1/2] use shade to package jar-with-dependencies --- 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..d7e30dd63ca 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 + + + + + + without-spark + package + + shade + + + true + jar-with-dependencies + - org.apache.maven.plugins maven-assembly-plugin - - without-spark - - - jar-with-dependencies - - - package - - single - - with-spark From 9dd4f4ddb921ef8c018fc3b99360faa07ae23c4e Mon Sep 17 00:00:00 2001 From: qiuxin2012 Date: Tue, 7 Nov 2017 14:37:07 +0800 Subject: [PATCH 2/2] ajust incident --- spark/dl/pom.xml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/spark/dl/pom.xml b/spark/dl/pom.xml index d7e30dd63ca..8a4db06d7e4 100644 --- a/spark/dl/pom.xml +++ b/spark/dl/pom.xml @@ -184,7 +184,7 @@ - shade + shade package shade @@ -198,13 +198,13 @@ - without-spark + without-spark package shade - true + true jar-with-dependencies