diff --git a/hbase-assembly/pom.xml b/hbase-assembly/pom.xml index 36a9afccd9f..17d5693e23c 100644 --- a/hbase-assembly/pom.xml +++ b/hbase-assembly/pom.xml @@ -79,6 +79,7 @@ gnu ${assembly.file} + src/main/assembly/client.xml @@ -212,22 +213,22 @@ test - org.apache.hbase - hbase-hadoop-compat - - - com.google.guava - guava - - + org.apache.hbase + hbase-hadoop-compat + + + com.google.guava + guava + + - org.apache.hbase - ${compat.module} + org.apache.hbase + ${compat.module} - org.apache.hbase - hbase-shell + org.apache.hbase + hbase-shell org.apache.hbase @@ -294,6 +295,14 @@ jline jline + + org.apache.hbase + hbase-shaded-client + + + org.apache.hbase + hbase-shaded-mapreduce + diff --git a/hbase-assembly/src/main/assembly/client-components.xml b/hbase-assembly/src/main/assembly/client-components.xml new file mode 100644 index 00000000000..2fd1b579e20 --- /dev/null +++ b/hbase-assembly/src/main/assembly/client-components.xml @@ -0,0 +1,92 @@ + + + + + + + + + ${project.basedir}/../target/site + docs + + + + ${project.basedir}/.. + . + + CHANGES.txt + README.txt + + 0644 + + + + ${project.basedir}/../conf + conf + 0644 + 0755 + + + + + ${project.basedir}/../bin + bin + + get-active-master.rb + hbase + hbase-common.sh + hbase-config.sh + hbase-jruby + hirb.rb + + + 0755 + 0755 + + + + ${project.basedir}/../bin + bin + + hbase.cmd + hbase-config.cmd + + + + + ${project.basedir}/../hbase-shell/src/main/ruby + lib/ruby + 0644 + 0755 + + + + ${project.basedir}/../hbase-server/target/native + lib/native + 0755 + 0755 + + *.so + *.dylib + + + + diff --git a/hbase-assembly/src/main/assembly/client.xml b/hbase-assembly/src/main/assembly/client.xml new file mode 100644 index 00000000000..79519613c31 --- /dev/null +++ b/hbase-assembly/src/main/assembly/client.xml @@ -0,0 +1,137 @@ + + + + + + client-bin + + tar.gz + + + hbase-${project.version}-client + + src/main/assembly/client-components.xml + + + + true + + + org.apache.hbase:hbase-annotations + org.apache.hbase:hbase-client + org.apache.hbase:hbase-common + org.apache.hbase:hbase-hadoop-compat + org.apache.hbase:hbase-hadoop2-compat + org.apache.hbase:hbase-mapreduce + org.apache.hbase:hbase-metrics + org.apache.hbase:hbase-metrics-api + org.apache.hbase:hbase-procedure + org.apache.hbase:hbase-protocol + org.apache.hbase:hbase-protocol-shaded + org.apache.hbase:hbase-server + org.apache.hbase:hbase-zookeeper + + + + lib + false + + + + + com.sun.jersey:* + com.sun.jersey.contribs:* + + org.apache.hbase:hbase-external-blockcache + org.apache.hbase:hbase-http + org.apache.hbase:hbase-replication + org.apache.hbase:hbase-rest + org.apache.hbase:hbase-rsgroup + org.apache.hbase:hbase-shaded-client + org.apache.hbase:hbase-shaded-mapreduce + + org.apache.hbase:hbase-shell + org.apache.hbase:hbase-thrift + org.jruby:jruby-complete + + + + + + + true + + org.apache.hbase:hbase-shaded-client + org.apache.hbase:hbase-shaded-mapreduce + + + + shaded-lib + false + + + + + org.apache.hbase:hbase-shaded-client + org.apache.hbase:hbase-shaded-mapreduce + + false + + + + + + + + + ${project.build.directory}/maven-shared-archive-resources/META-INF/LICENSE + . + LICENSE.txt + unix + + + ${project.build.directory}/NOTICE.aggregate + . + NOTICE.txt + unix + + + ${basedir}/src/main/resources/META-INF/LEGAL + . + LEGAL + unix + + + + + + + lib/ruby + + org.jruby:jruby-complete + + + + + diff --git a/hbase-procedure/pom.xml b/hbase-procedure/pom.xml index 2856d0ae985..cecb80212d2 100644 --- a/hbase-procedure/pom.xml +++ b/hbase-procedure/pom.xml @@ -57,8 +57,8 @@ org.apache.hbase hbase-common - ${project.version} - tests + test-jar + test org.apache.hbase diff --git a/pom.xml b/pom.xml index d1a3c2a647e..d73bdcdc185 100755 --- a/pom.xml +++ b/pom.xml @@ -1710,6 +1710,16 @@ test-jar test + + org.apache.hbase + hbase-shaded-client + ${project.version} + + + org.apache.hbase + hbase-shaded-mapreduce + ${project.version} + com.github.stephenc.findbugs