From 182690a62ea1e348ca40eafeb68f873898ae97c2 Mon Sep 17 00:00:00 2001 From: Apekshit Sharma Date: Thu, 9 Nov 2017 14:36:03 -0800 Subject: [PATCH] HBASE-19089 Fix the list of included moduleSets in src and binary tars. --- hbase-assembly/pom.xml | 31 ++++++++++++------- .../src/main/assembly/components.xml | 24 +++++++------- .../src/main/assembly/hadoop-two-compat.xml | 16 +++++++--- pom.xml | 15 +++++++++ 4 files changed, 58 insertions(+), 28 deletions(-) diff --git a/hbase-assembly/pom.xml b/hbase-assembly/pom.xml index 8961b2e31d1..105fe8e7c78 100644 --- a/hbase-assembly/pom.xml +++ b/hbase-assembly/pom.xml @@ -207,47 +207,46 @@ org.apache.hbase ${compat.module} - ${project.version} org.apache.hbase hbase-shell - ${project.version} org.apache.hbase hbase-thrift - ${project.version} org.apache.hbase hbase-rest - ${project.version} org.apache.hbase hbase-external-blockcache - ${project.version} org.apache.hbase hbase-testing-util - ${project.version} org.apache.hbase hbase-metrics-api - ${project.version} org.apache.hbase hbase-metrics - ${project.version} + + + org.apache.hbase + hbase-protocol + + + org.apache.hbase + hbase-protocol-shaded org.apache.hbase hbase-resource-bundle - ${project.version} true @@ -261,7 +260,18 @@ org.apache.hbase hbase-backup - ${project.version} + + + org.apache.hbase + hbase-replication + + + org.apache.hbase + hbase-http + + + org.apache.hbase + hbase-examples @@ -276,7 +286,6 @@ org.apache.hbase hbase-rsgroup - ${project.version} diff --git a/hbase-assembly/src/main/assembly/components.xml b/hbase-assembly/src/main/assembly/components.xml index 42962f9e5ec..e6c45e0a425 100644 --- a/hbase-assembly/src/main/assembly/components.xml +++ b/hbase-assembly/src/main/assembly/components.xml @@ -19,12 +19,12 @@ */ --> - + - ${project.basedir}/../target/site + ${project.basedir}/../target/site docs @@ -50,7 +50,7 @@ ${project.basedir}/../bin bin - **/*.cmd + **/*.cmd 0755 0755 @@ -60,19 +60,19 @@ ${project.basedir}/../bin bin - **/*.cmd + **/*.cmd - ${project.basedir}/../hbase-shell/src/main/ruby + ${project.basedir}/../hbase-shell/src/main/ruby lib/ruby 0644 0755 - ${project.basedir}/../hbase-server/target/hbase-webapps + ${project.basedir}/../hbase-server/target/hbase-webapps hbase-webapps 0644 0755 @@ -91,8 +91,8 @@ - ${project.basedir}/../hbase-server/target/native - lib/native + ${project.basedir}/../hbase-server/target/native + lib/native 0755 0755 @@ -107,7 +107,7 @@ have 1 submodule to accumulate, but we can copy/paste as necessary until maven is fixed. --> - ${project.basedir}/../hbase-server/target/ + ${project.basedir}/../hbase-server/target/ lib ${server.test.jar} @@ -115,7 +115,7 @@ 0644 - ${project.basedir}/../hbase-it/target/ + ${project.basedir}/../hbase-it/target/ lib ${it.test.jar} @@ -123,7 +123,7 @@ 0644 - ${project.basedir}/../hbase-annotations/target/ + ${project.basedir}/../hbase-annotations/target/ lib ${annotations.test.jar} @@ -131,7 +131,7 @@ 0644 - ${project.basedir}/../hbase-common/target/ + ${project.basedir}/../hbase-common/target/ lib ${common.test.jar} diff --git a/hbase-assembly/src/main/assembly/hadoop-two-compat.xml b/hbase-assembly/src/main/assembly/hadoop-two-compat.xml index 820430f4c75..8d93ae7f58d 100644 --- a/hbase-assembly/src/main/assembly/hadoop-two-compat.xml +++ b/hbase-assembly/src/main/assembly/hadoop-two-compat.xml @@ -32,24 +32,30 @@ true + org.apache.hbase:hbase-annotations + org.apache.hbase:hbase-backup 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-external-blockcache org.apache.hbase:hbase-hadoop-compat + org.apache.hbase:hbase-hadoop2-compat + org.apache.hbase:hbase-http org.apache.hbase:hbase-it - org.apache.hbase:hbase-prefix-tree + 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-replication org.apache.hbase:hbase-rest org.apache.hbase:hbase-rsgroup org.apache.hbase:hbase-server org.apache.hbase:hbase-shell + org.apache.hbase:hbase-testing-util org.apache.hbase:hbase-thrift - org.apache.hbase:hbase-external-blockcache - org.apache.hbase:hbase-backup - org.apache.hbase:hbase-mapreduce diff --git a/pom.xml b/pom.xml index 23301ab431b..8562686d783 100644 --- a/pom.xml +++ b/pom.xml @@ -1477,6 +1477,11 @@ test-jar + + org.apache.hbase + hbase-backup + ${project.version} + org.apache.hbase hbase-common @@ -1668,6 +1673,16 @@ test-jar test + + hbase-rest + org.apache.hbase + ${project.version} + + + hbase-resource-bundle + org.apache.hbase + ${project.version} + com.github.stephenc.findbugs