diff --git a/hbase-assembly/pom.xml b/hbase-assembly/pom.xml
index defece4348c9..7a07551adaaf 100644
--- a/hbase-assembly/pom.xml
+++ b/hbase-assembly/pom.xml
@@ -168,11 +168,6 @@
org.apache.hbase
hbase-rest
-
- org.apache.hbase
- hbase-thrift
- true
-
org.apache.hbase
@@ -234,4 +229,21 @@
${project.version}
+
+
+ build-with-jdk8
+
+ 1.8
+
+
+
+
+ org.apache.hbase
+ hbase-thrift
+ ${project.version}
+
+
+
+
+
diff --git a/hbase-assembly/src/main/assembly/components-jdk8.xml b/hbase-assembly/src/main/assembly/components-jdk8.xml
new file mode 100644
index 000000000000..3ec18834b3bc
--- /dev/null
+++ b/hbase-assembly/src/main/assembly/components-jdk8.xml
@@ -0,0 +1,142 @@
+
+
+
+
+
+
+
+
+ ${project.basedir}/../target/site
+ docs
+
+
+
+ ${project.basedir}/..
+ .
+
+ CHANGES.txt
+ README.txt
+
+ 0644
+
+
+
+ ${project.basedir}/../conf
+ conf
+ 0644
+ 0755
+
+
+
+
+ ${project.basedir}/../bin
+ bin
+
+ **/*.cmd
+
+ 0755
+ 0755
+
+
+
+ ${project.basedir}/../bin
+ bin
+
+ **/*.cmd
+
+
+
+
+ ${project.basedir}/../hbase-shell/src/main/ruby
+ lib/ruby
+ 0644
+ 0755
+
+
+
+ ${project.basedir}/../hbase-server/target/hbase-webapps
+ hbase-webapps
+ 0644
+ 0755
+
+
+ ${project.basedir}/../hbase-thrift/target/hbase-webapps
+ hbase-webapps/
+ 0644
+ 0755
+
+
+ ${project.basedir}/../hbase-rest/target/hbase-webapps
+ hbase-webapps/
+ 0644
+ 0755
+
+
+
+ ${project.basedir}/../hbase-server/target/native
+ lib/native
+ 0755
+ 0755
+
+ *.so
+ *.dylib
+
+
+
+
+ ${project.basedir}/../hbase-server/target/
+ lib
+
+ ${server.test.jar}
+
+ 0644
+
+
+ ${project.basedir}/../hbase-it/target/
+ lib
+
+ ${it.test.jar}
+
+ 0644
+
+
+ ${project.basedir}/../hbase-annotations/target/
+ lib
+
+ ${annotations.test.jar}
+
+ 0644
+
+
+ ${project.basedir}/../hbase-common/target/
+ lib
+
+ ${common.test.jar}
+
+ 0644
+
+
+
diff --git a/hbase-assembly/src/main/assembly/components.xml b/hbase-assembly/src/main/assembly/components.xml
index 3ec18834b3bc..dbf70da708a1 100644
--- a/hbase-assembly/src/main/assembly/components.xml
+++ b/hbase-assembly/src/main/assembly/components.xml
@@ -77,12 +77,6 @@
0644
0755
-
- ${project.basedir}/../hbase-thrift/target/hbase-webapps
- hbase-webapps/
- 0644
- 0755
-
${project.basedir}/../hbase-rest/target/hbase-webapps
hbase-webapps/
diff --git a/hbase-assembly/src/main/assembly/hadoop-two-compat-jdk8.xml b/hbase-assembly/src/main/assembly/hadoop-two-compat-jdk8.xml
new file mode 100644
index 000000000000..4c034f6238df
--- /dev/null
+++ b/hbase-assembly/src/main/assembly/hadoop-two-compat-jdk8.xml
@@ -0,0 +1,82 @@
+
+
+
+
+
+ bin
+
+ tar.gz
+
+
+ src/main/assembly/components-jdk8.xml
+
+
+
+ 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
+ org.apache.hbase:hbase-external-blockcache
+
+
+
+ lib
+ false
+
+
+
+
+
+
+
+
+
+
+ .
+ LICENSE.txt
+ unix
+
+
+
+ .
+ NOTICE.txt
+ unix
+
+
+
+ .
+ LEGAL
+ unix
+
+
+
diff --git a/hbase-assembly/src/main/assembly/hadoop-two-compat.xml b/hbase-assembly/src/main/assembly/hadoop-two-compat.xml
index 9ef624c028a9..730793a495d6 100644
--- a/hbase-assembly/src/main/assembly/hadoop-two-compat.xml
+++ b/hbase-assembly/src/main/assembly/hadoop-two-compat.xml
@@ -45,7 +45,6 @@
org.apache.hbase:hbase-rest
org.apache.hbase:hbase-server
org.apache.hbase:hbase-shell
- org.apache.hbase:hbase-thrift
org.apache.hbase:hbase-external-blockcache
diff --git a/pom.xml b/pom.xml
index 0127cf8d25ed..d53649c8a7bf 100644
--- a/pom.xml
+++ b/pom.xml
@@ -60,30 +60,6 @@
-
- hbase-resource-bundle
- hbase-server
- hbase-rest
- hbase-shell
- hbase-protocol
- hbase-client
- hbase-hadoop-compat
- hbase-common
- hbase-procedure
- hbase-it
- hbase-examples
- hbase-prefix-tree
- hbase-assembly
- hbase-testing-util
- hbase-annotations
- hbase-checkstyle
- hbase-external-blockcache
- hbase-shaded
- hbase-archetypes
- hbase-metrics-api
- hbase-metrics
- hbase-hbtop
-
@@ -2046,8 +2022,33 @@
1.8
+
+ src/main/assembly/hadoop-two-compat-jdk8.xml
+
+ hbase-resource-bundle
+ hbase-server
+ hbase-rest
hbase-thrift
+ hbase-shell
+ hbase-protocol
+ hbase-client
+ hbase-hadoop-compat
+ hbase-common
+ hbase-procedure
+ hbase-it
+ hbase-examples
+ hbase-prefix-tree
+ hbase-assembly
+ hbase-testing-util
+ hbase-annotations
+ hbase-checkstyle
+ hbase-external-blockcache
+ hbase-shaded
+ hbase-archetypes
+ hbase-metrics-api
+ hbase-metrics
+ hbase-hbtop
@@ -2084,6 +2085,38 @@
+
+ build-with-jdk7
+
+ 1.7
+
+
+
+ hbase-resource-bundle
+ hbase-server
+ hbase-rest
+ hbase-shell
+ hbase-protocol
+ hbase-client
+ hbase-hadoop-compat
+ hbase-common
+ hbase-procedure
+ hbase-it
+ hbase-examples
+ hbase-prefix-tree
+ hbase-assembly
+ hbase-testing-util
+ hbase-annotations
+ hbase-checkstyle
+ hbase-external-blockcache
+ hbase-shaded
+ hbase-archetypes
+ hbase-metrics-api
+ hbase-metrics
+ hbase-hbtop
+
+
+