From 0f3dae40c0a8d06a13e282367fc016cdbe535b91 Mon Sep 17 00:00:00 2001 From: Nihal Jain Date: Wed, 25 Sep 2024 21:36:26 +0530 Subject: [PATCH] HBASE-28883 Manage hbase-thirdparty transitive dependencies via BOM pom --- hbase-thirdparty-bom/pom.xml | 105 +++++++++++++++++++++++++++++++++++ pom.xml | 10 ++++ 2 files changed, 115 insertions(+) create mode 100644 hbase-thirdparty-bom/pom.xml diff --git a/hbase-thirdparty-bom/pom.xml b/hbase-thirdparty-bom/pom.xml new file mode 100644 index 0000000..b8ab2b3 --- /dev/null +++ b/hbase-thirdparty-bom/pom.xml @@ -0,0 +1,105 @@ + + + + 4.0.0 + + org.apache.hbase.thirdparty + hbase-thirdparty + ${revision} + .. + + hbase-thirdparty-bom + Apache HBase Thirdparty - BOM + + Bill of Materials for dependencies common to HBase Thirdparty and HBase main code + + pom + + + + com.google.protobuf + protobuf-java + ${internal.protobuf.version} + + + io.netty + netty-bom + ${netty4.version} + pom + import + + + com.google.errorprone + error_prone_annotations + ${error_prone_annotations.version} + + + javax.servlet + javax.servlet-api + ${servlet-api.version} + + + com.fasterxml.jackson.core + jackson-annotations + ${jackson.version} + + + com.fasterxml.jackson.core + jackson-core + ${jackson.version} + + + com.fasterxml.jackson.core + jackson-databind + ${jackson.databind.version} + + + + + + + org.codehaus.mojo + flatten-maven-plugin + + bom + + + + + flatten + + process-resources + + + + + + diff --git a/pom.xml b/pom.xml index 6824f9e..858a6f2 100644 --- a/pom.xml +++ b/pom.xml @@ -53,6 +53,7 @@ + hbase-thirdparty-bom hbase-shaded-protobuf hbase-shaded-netty hbase-shaded-netty-tcnative @@ -151,6 +152,15 @@ 2.0.2 3.30.2-GA 2.17.2 + + ${protobuf.version} + ${netty.version} + ${error_prone_annotations.version} + ${jackson-jaxrs-json-provider.version} + ${jackson-jaxrs-json-provider.version}