From fe84f41c613b5cf0248c908df430f29def9caae4 Mon Sep 17 00:00:00 2001 From: Istvan Toth Date: Tue, 16 Jan 2024 08:06:29 +0100 Subject: [PATCH] HBASE-28314 Enable maven-source-plugin for all modules --- hbase-asyncfs/pom.xml | 5 ----- hbase-backup/pom.xml | 5 ----- hbase-balancer/pom.xml | 5 ----- hbase-checkstyle/pom.xml | 8 +++++++- hbase-client/pom.xml | 5 ----- hbase-endpoint/pom.xml | 5 ----- hbase-examples/pom.xml | 5 ----- hbase-extensions/hbase-openssl/pom.xml | 11 +++++++++++ hbase-external-blockcache/pom.xml | 5 ----- hbase-hadoop-compat/pom.xml | 5 ----- hbase-hbtop/pom.xml | 9 --------- hbase-it/pom.xml | 5 ----- hbase-logging/pom.xml | 5 ----- hbase-mapreduce/pom.xml | 5 ----- hbase-metrics-api/pom.xml | 5 ----- hbase-metrics/pom.xml | 5 ----- hbase-procedure/pom.xml | 5 ----- hbase-protocol-shaded/pom.xml | 5 ----- hbase-replication/pom.xml | 5 ----- hbase-rest/pom.xml | 5 ----- hbase-shaded/pom.xml | 7 +++++++ hbase-shell/pom.xml | 5 ----- hbase-thrift/pom.xml | 5 ----- pom.xml | 5 +++++ 24 files changed, 30 insertions(+), 105 deletions(-) diff --git a/hbase-asyncfs/pom.xml b/hbase-asyncfs/pom.xml index 08d619e46cbb..d0df0ba9e65f 100644 --- a/hbase-asyncfs/pom.xml +++ b/hbase-asyncfs/pom.xml @@ -132,11 +132,6 @@ - - - org.apache.maven.plugins - maven-source-plugin - maven-assembly-plugin diff --git a/hbase-backup/pom.xml b/hbase-backup/pom.xml index 77d033d67fe6..24c4ca4390f9 100644 --- a/hbase-backup/pom.xml +++ b/hbase-backup/pom.xml @@ -173,11 +173,6 @@ true - - - org.apache.maven.plugins - maven-source-plugin - net.revelc.code warbucks-maven-plugin diff --git a/hbase-balancer/pom.xml b/hbase-balancer/pom.xml index 4009fa1b375b..5946e4add7d3 100644 --- a/hbase-balancer/pom.xml +++ b/hbase-balancer/pom.xml @@ -118,11 +118,6 @@ - - - org.apache.maven.plugins - maven-source-plugin - maven-assembly-plugin diff --git a/hbase-checkstyle/pom.xml b/hbase-checkstyle/pom.xml index 23ee22725578..14f5b30cb364 100644 --- a/hbase-checkstyle/pom.xml +++ b/hbase-checkstyle/pom.xml @@ -35,7 +35,13 @@ - + + + maven-source-plugin + + true + + org.apache.maven.plugins maven-site-plugin diff --git a/hbase-client/pom.xml b/hbase-client/pom.xml index d4ee67f0511c..dba79ff07eec 100644 --- a/hbase-client/pom.xml +++ b/hbase-client/pom.xml @@ -197,11 +197,6 @@ true - - - org.apache.maven.plugins - maven-source-plugin - net.revelc.code warbucks-maven-plugin diff --git a/hbase-endpoint/pom.xml b/hbase-endpoint/pom.xml index e024fcae002e..872bbb25a71a 100644 --- a/hbase-endpoint/pom.xml +++ b/hbase-endpoint/pom.xml @@ -207,11 +207,6 @@ - - - org.apache.maven.plugins - maven-source-plugin - maven-assembly-plugin diff --git a/hbase-examples/pom.xml b/hbase-examples/pom.xml index 731d9ae1df64..696e4b1b566c 100644 --- a/hbase-examples/pom.xml +++ b/hbase-examples/pom.xml @@ -209,11 +209,6 @@ ${surefire.firstPartGroups} - - - org.apache.maven.plugins - maven-source-plugin - org.xolstice.maven.plugins protobuf-maven-plugin diff --git a/hbase-extensions/hbase-openssl/pom.xml b/hbase-extensions/hbase-openssl/pom.xml index 7158c2f4197e..bbe161921cc6 100644 --- a/hbase-extensions/hbase-openssl/pom.xml +++ b/hbase-extensions/hbase-openssl/pom.xml @@ -40,4 +40,15 @@ + + + + + maven-source-plugin + + true + + + + diff --git a/hbase-external-blockcache/pom.xml b/hbase-external-blockcache/pom.xml index 2a1e62a185a8..2661b3a02c2c 100644 --- a/hbase-external-blockcache/pom.xml +++ b/hbase-external-blockcache/pom.xml @@ -149,11 +149,6 @@ - - - org.apache.maven.plugins - maven-source-plugin - org.apache.maven.plugins maven-checkstyle-plugin diff --git a/hbase-hadoop-compat/pom.xml b/hbase-hadoop-compat/pom.xml index 9bb7eee26a8d..c901ed04e4bb 100644 --- a/hbase-hadoop-compat/pom.xml +++ b/hbase-hadoop-compat/pom.xml @@ -117,11 +117,6 @@ true - - - org.apache.maven.plugins - maven-source-plugin - org.apache.maven.plugins maven-checkstyle-plugin diff --git a/hbase-hbtop/pom.xml b/hbase-hbtop/pom.xml index 90150da15a12..370b17074f7f 100644 --- a/hbase-hbtop/pom.xml +++ b/hbase-hbtop/pom.xml @@ -96,13 +96,4 @@ test - - - - - org.apache.maven.plugins - maven-source-plugin - - - diff --git a/hbase-it/pom.xml b/hbase-it/pom.xml index 96033b151299..d4228b517724 100644 --- a/hbase-it/pom.xml +++ b/hbase-it/pom.xml @@ -213,11 +213,6 @@ - - - org.apache.maven.plugins - maven-source-plugin - maven-assembly-plugin diff --git a/hbase-logging/pom.xml b/hbase-logging/pom.xml index c819e6e44400..dd79fb394c97 100644 --- a/hbase-logging/pom.xml +++ b/hbase-logging/pom.xml @@ -96,11 +96,6 @@ true - - - org.apache.maven.plugins - maven-source-plugin - net.revelc.code warbucks-maven-plugin diff --git a/hbase-mapreduce/pom.xml b/hbase-mapreduce/pom.xml index 798250600e35..86ab6d38bf4c 100644 --- a/hbase-mapreduce/pom.xml +++ b/hbase-mapreduce/pom.xml @@ -246,11 +246,6 @@ - - - org.apache.maven.plugins - maven-source-plugin - net.revelc.code warbucks-maven-plugin diff --git a/hbase-metrics-api/pom.xml b/hbase-metrics-api/pom.xml index 8e31b1f16119..9c8d9dc79b4a 100644 --- a/hbase-metrics-api/pom.xml +++ b/hbase-metrics-api/pom.xml @@ -107,11 +107,6 @@ - - - org.apache.maven.plugins - maven-source-plugin - maven-assembly-plugin diff --git a/hbase-metrics/pom.xml b/hbase-metrics/pom.xml index d360b07ab88d..5fe3d26147ff 100644 --- a/hbase-metrics/pom.xml +++ b/hbase-metrics/pom.xml @@ -121,11 +121,6 @@ - - - org.apache.maven.plugins - maven-source-plugin - maven-assembly-plugin diff --git a/hbase-procedure/pom.xml b/hbase-procedure/pom.xml index 905b384e26e8..67c15fed3669 100644 --- a/hbase-procedure/pom.xml +++ b/hbase-procedure/pom.xml @@ -120,11 +120,6 @@ - - - org.apache.maven.plugins - maven-source-plugin - maven-assembly-plugin diff --git a/hbase-protocol-shaded/pom.xml b/hbase-protocol-shaded/pom.xml index 39ecccc0015d..1cbda8b543fa 100644 --- a/hbase-protocol-shaded/pom.xml +++ b/hbase-protocol-shaded/pom.xml @@ -53,11 +53,6 @@ - - - org.apache.maven.plugins - maven-source-plugin - maven-assembly-plugin diff --git a/hbase-replication/pom.xml b/hbase-replication/pom.xml index 2fc4e304ee8c..a4b6c38bc4b4 100644 --- a/hbase-replication/pom.xml +++ b/hbase-replication/pom.xml @@ -160,11 +160,6 @@ true - - - org.apache.maven.plugins - maven-source-plugin - org.apache.maven.plugins maven-checkstyle-plugin diff --git a/hbase-rest/pom.xml b/hbase-rest/pom.xml index 0368e713bdc2..8dc893e16ca3 100644 --- a/hbase-rest/pom.xml +++ b/hbase-rest/pom.xml @@ -292,11 +292,6 @@ true - - - org.apache.maven.plugins - maven-source-plugin - maven-antrun-plugin diff --git a/hbase-shaded/pom.xml b/hbase-shaded/pom.xml index d87a8c381c5e..9dae4218cca4 100644 --- a/hbase-shaded/pom.xml +++ b/hbase-shaded/pom.xml @@ -80,6 +80,13 @@ true + + + maven-source-plugin + + true + + org.apache.maven.plugins maven-shade-plugin diff --git a/hbase-shell/pom.xml b/hbase-shell/pom.xml index 7e6278c37a40..06caf29cbe5f 100644 --- a/hbase-shell/pom.xml +++ b/hbase-shell/pom.xml @@ -150,11 +150,6 @@ - - - org.apache.maven.plugins - maven-source-plugin - net.revelc.code diff --git a/hbase-thrift/pom.xml b/hbase-thrift/pom.xml index 720eecb3b4c2..df17ebcfb3a7 100644 --- a/hbase-thrift/pom.xml +++ b/hbase-thrift/pom.xml @@ -248,11 +248,6 @@ - - - org.apache.maven.plugins - maven-source-plugin - org.apache.maven.plugins maven-checkstyle-plugin diff --git a/pom.xml b/pom.xml index 80c35967a133..7b8e60c9171d 100644 --- a/pom.xml +++ b/pom.xml @@ -2614,6 +2614,11 @@ + + + org.apache.maven.plugins + maven-source-plugin +