From 4f31f7fcfe0bd64f630e0b63431a905ad0ebb38b Mon Sep 17 00:00:00 2001 From: Elliott Clark Date: Mon, 20 Apr 2015 22:20:19 -0700 Subject: [PATCH] HBASE-13517 Publish a client artifact with shaded dependencies Summary: Add in shaded versions of server and shaded versions of client Test Plan: HBase downstreamer Differential Revision: https://reviews.facebook.net/D37467 --- .gitignore | 1 + hbase-shaded/hbase-shaded-client/pom.xml | 54 +++++++++++++ hbase-shaded/hbase-shaded-server/pom.xml | 55 +++++++++++++ hbase-shaded/pom.xml | 130 +++++++++++++++++++++++++++++++ pom.xml | 1 + 5 files changed, 241 insertions(+) create mode 100644 hbase-shaded/hbase-shaded-client/pom.xml create mode 100644 hbase-shaded/hbase-shaded-server/pom.xml create mode 100644 hbase-shaded/pom.xml diff --git a/.gitignore b/.gitignore index f9fc9f7..626a4d0 100644 --- a/.gitignore +++ b/.gitignore @@ -15,3 +15,4 @@ hbase-*/test *.iml *.ipr patchprocess/ +dependency-reduced-pom.xml diff --git a/hbase-shaded/hbase-shaded-client/pom.xml b/hbase-shaded/hbase-shaded-client/pom.xml new file mode 100644 index 0000000..5aba1d5 --- /dev/null +++ b/hbase-shaded/hbase-shaded-client/pom.xml @@ -0,0 +1,54 @@ + + + 4.0.0 + + hbase-shaded + org.apache.hbase + 2.0.0-SNAPSHOT + .. + + hbase-shaded-client + HBase - Shaded - Client + + + + org.apache.maven.plugins + maven-site-plugin + + true + + + + org.apache.maven.plugins + maven-shade-plugin + + + + + + org.apache.hbase + hbase-client + + + + \ No newline at end of file diff --git a/hbase-shaded/hbase-shaded-server/pom.xml b/hbase-shaded/hbase-shaded-server/pom.xml new file mode 100644 index 0000000..b077d08 --- /dev/null +++ b/hbase-shaded/hbase-shaded-server/pom.xml @@ -0,0 +1,55 @@ + + + 4.0.0 + + hbase-shaded + org.apache.hbase + 2.0.0-SNAPSHOT + .. + + hbase-shaded-server + HBase - Shaded - Server + + + + org.apache.maven.plugins + maven-site-plugin + + true + + + + org.apache.maven.plugins + maven-shade-plugin + + + + + + + org.apache.hbase + hbase-server + + + + \ No newline at end of file diff --git a/hbase-shaded/pom.xml b/hbase-shaded/pom.xml new file mode 100644 index 0000000..944507b --- /dev/null +++ b/hbase-shaded/pom.xml @@ -0,0 +1,130 @@ + + + + 4.0.0 + + hbase + org.apache.hbase + 2.0.0-SNAPSHOT + .. + + hbase-shaded + HBase - Shaded + Module of HBase with most deps shaded. + pom + + hbase-shaded-client + hbase-shaded-server + + + + + org.apache.maven.plugins + maven-site-plugin + + true + + + + + + + org.apache.maven.plugins + maven-shade-plugin + + + package + + shade + + + false + true + true + + + org.apache.hbase:* + org.apache.hadoop:* + org.apache.zookeeper* + com.google.protobuf:* + io.netty:* + org.jboss.netty:* + com.google.guava:* + org.mortbay.jetty:* + org.codehaus.jackson:* + org.apache.avro:* + com.sun.jersey:* + com.sun.jersey.contribs:* + tomcat:* + + + + + + com.google.common + org.apache.hadoop.hbase.com.google.common + + + + + com.google.protobuf + org.apache.hadoop.hbase.com.google.protobuf + + + + + io.netty + org.apache.hadoop.hbase.io.netty + + + + org.jboss.netty + org.apache.hadoop.hbase.org.jboss.netty + + + + org.mortbay + org.apache.hadoop.hbase.org.mortbay + + + + org.codehaus.jackson + org.apache.hadoop.hbase.org.codehaus.jackson + + + + org.apache.avro + org.apache.hadoop.hbase.org.apache.avro + + + + com.sun.jersey + org.apache.hadoop.hbase.com.sun.jersey + + + + + + + + + + \ No newline at end of file diff --git a/pom.xml b/pom.xml index d188137..326e545 100644 --- a/pom.xml +++ b/pom.xml @@ -65,6 +65,7 @@ hbase-annotations hbase-rest hbase-checkstyle + hbase-shaded -- 2.3.0