diff --git a/.gitignore b/.gitignore index f9fc9f70931..626a4d0b1a7 100644 --- a/.gitignore +++ b/.gitignore @@ -15,3 +15,4 @@ hbase-*/test *.iml *.ipr patchprocess/ +dependency-reduced-pom.xml diff --git a/hbase-assembly/src/main/assembly/hadoop-two-compat.xml b/hbase-assembly/src/main/assembly/hadoop-two-compat.xml index f8ebcda458f..60699e0d9e3 100644 --- a/hbase-assembly/src/main/assembly/hadoop-two-compat.xml +++ b/hbase-assembly/src/main/assembly/hadoop-two-compat.xml @@ -30,9 +30,23 @@ - true + + org.apache.hbase:hbase-annotations + org.apache.hbase:hbase-client + org.apache.hbase:hbase-common + org.apache.hbase:hbase-examples + org.apache.hbase:hbase-hadoop2-compat + org.apache.hbase:hbase-hadoop-compat + org.apache.hbase:hbase-it + org.apache.hbase:hbase-prefix-tree + org.apache.hbase:hbase-procedure + org.apache.hbase:hbase-protocol + org.apache.hbase:hbase-rest + org.apache.hbase:hbase-server + org.apache.hbase:hbase-shell + org.apache.hbase:hbase-thrift + lib diff --git a/hbase-assembly/src/main/assembly/src.xml b/hbase-assembly/src/main/assembly/src.xml index b7a21a41d98..8d801cabb23 100644 --- a/hbase-assembly/src/main/assembly/src.xml +++ b/hbase-assembly/src/main/assembly/src.xml @@ -30,6 +30,22 @@ true + + org.apache.hbase:hbase-annotations + org.apache.hbase:hbase-client + org.apache.hbase:hbase-common + org.apache.hbase:hbase-examples + org.apache.hbase:hbase-hadoop2-compat + org.apache.hbase:hbase-hadoop-compat + org.apache.hbase:hbase-it + org.apache.hbase:hbase-prefix-tree + org.apache.hbase:hbase-procedure + org.apache.hbase:hbase-protocol + org.apache.hbase:hbase-rest + org.apache.hbase:hbase-server + org.apache.hbase:hbase-shell + org.apache.hbase:hbase-thrift + diff --git a/hbase-shaded/hbase-shaded-client/pom.xml b/hbase-shaded/hbase-shaded-client/pom.xml new file mode 100644 index 00000000000..b726adefe37 --- /dev/null +++ b/hbase-shaded/hbase-shaded-client/pom.xml @@ -0,0 +1,61 @@ + + + 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 + + + + maven-assembly-plugin + + true + + + + + + + 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 00000000000..22aa774b3bf --- /dev/null +++ b/hbase-shaded/hbase-shaded-server/pom.xml @@ -0,0 +1,61 @@ + + + 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 + + + + maven-assembly-plugin + + true + + + + + + + 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 00000000000..53c274ab82e --- /dev/null +++ b/hbase-shaded/pom.xml @@ -0,0 +1,121 @@ + + + + 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 + + + + + maven-assembly-plugin + + true + + + + + + + + maven-assembly-plugin + + true + + + + org.apache.maven.plugins + maven-shade-plugin + 2.3 + + + package + + shade + + + false + true + ${project.build.directory}/dependency-reduced-pom.xml + + + *:* + + + org.slf4j:* + org.apache.htrace:* + log4j:* + commons-logging:* + + + + + + com + org.apache.hadoop.hbase.shaded.com + + + net + org.apache.hadoop.hbase.shaded.net + + + javax + org.apache.hadoop.hbase.shaded.javax + + + io + org.apache.hadoop.hbase.shaded.io + + + org + org.apache.hadoop.hbase.shaded.org + + org.apache.hadoop.** + + + + + + + + + + + \ No newline at end of file diff --git a/pom.xml b/pom.xml index 3ea511478c7..2b4375eb77b 100644 --- a/pom.xml +++ b/pom.xml @@ -65,6 +65,7 @@ hbase-annotations hbase-rest hbase-checkstyle + hbase-shaded