From b7cdfe3ab07f38a54988b573ea7a2816c7cd6c60 Mon Sep 17 00:00:00 2001 From: Sean Busbey Date: Wed, 5 Sep 2018 14:15:06 -0500 Subject: [PATCH] HBASE-21153 Shaded client jars should always build in relevant phase to avoid confusion Signed-off-by: Michael Stack --- .../hbase-shaded-client-byo-hadoop/pom.xml | 17 ++--- hbase-shaded/hbase-shaded-client/pom.xml | 65 ++++++++----------- hbase-shaded/hbase-shaded-mapreduce/pom.xml | 15 ++--- 3 files changed, 36 insertions(+), 61 deletions(-) diff --git a/hbase-shaded/hbase-shaded-client-byo-hadoop/pom.xml b/hbase-shaded/hbase-shaded-client-byo-hadoop/pom.xml index c51a1af745a..953e0b8f04e 100644 --- a/hbase-shaded/hbase-shaded-client-byo-hadoop/pom.xml +++ b/hbase-shaded/hbase-shaded-client-byo-hadoop/pom.xml @@ -45,6 +45,10 @@ true + + org.apache.maven.plugins + maven-shade-plugin + @@ -54,17 +58,4 @@ - - - release - - - - org.apache.maven.plugins - maven-shade-plugin - - - - - diff --git a/hbase-shaded/hbase-shaded-client/pom.xml b/hbase-shaded/hbase-shaded-client/pom.xml index 6152aada53f..3f19305f50f 100644 --- a/hbase-shaded/hbase-shaded-client/pom.xml +++ b/hbase-shaded/hbase-shaded-client/pom.xml @@ -45,6 +45,34 @@ true + + org.apache.maven.plugins + maven-shade-plugin + + + aggregate-into-a-jar-with-relocated-third-parties + + + + + + org.apache.hbase:hbase-resource-bundle + org.slf4j:* + com.google.code.findbugs:* + com.github.stephenc.findbugs:* + org.apache.htrace:* + org.apache.yetus:* + log4j:* + commons-logging:* + + + + + + @@ -55,41 +83,4 @@ - - - release - - - - org.apache.maven.plugins - maven-shade-plugin - - - aggregate-into-a-jar-with-relocated-third-parties - - - - - - org.apache.hbase:hbase-resource-bundle - org.slf4j:* - com.google.code.findbugs:* - com.github.stephenc.findbugs:* - org.apache.htrace:* - org.apache.yetus:* - log4j:* - commons-logging:* - - - - - - - - - - diff --git a/hbase-shaded/hbase-shaded-mapreduce/pom.xml b/hbase-shaded/hbase-shaded-mapreduce/pom.xml index fec88f11b65..e269aac1726 100644 --- a/hbase-shaded/hbase-shaded-mapreduce/pom.xml +++ b/hbase-shaded/hbase-shaded-mapreduce/pom.xml @@ -59,6 +59,10 @@ + + org.apache.maven.plugins + maven-shade-plugin + @@ -161,17 +165,6 @@ - - release - - - - org.apache.maven.plugins - maven-shade-plugin - - - -