|
| 1 | +From a8aada47897543df0ba008655852e16aa5ede477 Mon Sep 17 00:00:00 2001 |
| 2 | +From: Lars Francke <git@lars-francke.de> |
| 3 | +Date: Fri, 11 Sep 2026 14:48:51 +0200 |
| 4 | +Subject: Resolve every in-reactor dependency against the modules built |
| 5 | + alongside it |
| 6 | + |
| 7 | +standalone-metastore refers to several modules built in the same reactor through the literal |
| 8 | +hive.version property rather than ${project.version}. |
| 9 | +We use "mvn versions:set" to stamp our Stackable release version and we also expect Hive to |
| 10 | +then honor that. This patch makes sure it does (plus a change in the Dockerfile) |
| 11 | + |
| 12 | +Upstream fixed one instance of this, the metastore-server to metastore-client reference, for |
| 13 | +Hive 4.3.0: https://issues.apache.org/jira/browse/HIVE-29827. |
| 14 | +--- |
| 15 | + standalone-metastore/metastore-rest-catalog/pom.xml | 10 +++++----- |
| 16 | + standalone-metastore/metastore-server/pom.xml | 2 +- |
| 17 | + .../metastore-tools/metastore-benchmarks/pom.xml | 2 +- |
| 18 | + standalone-metastore/metastore-tools/pom.xml | 2 +- |
| 19 | + standalone-metastore/packaging/pom.xml | 6 +++--- |
| 20 | + 5 files changed, 11 insertions(+), 11 deletions(-) |
| 21 | + |
| 22 | +diff --git a/standalone-metastore/metastore-rest-catalog/pom.xml b/standalone-metastore/metastore-rest-catalog/pom.xml |
| 23 | +index ad6cecb535..8a4054422f 100644 |
| 24 | +--- a/standalone-metastore/metastore-rest-catalog/pom.xml |
| 25 | ++++ b/standalone-metastore/metastore-rest-catalog/pom.xml |
| 26 | +@@ -34,31 +34,31 @@ |
| 27 | + <dependency> |
| 28 | + <groupId>org.apache.hive</groupId> |
| 29 | + <artifactId>hive-standalone-metastore-server</artifactId> |
| 30 | +- <version>${hive.version}</version> |
| 31 | ++ <version>${project.version}</version> |
| 32 | + <scope>provided</scope> |
| 33 | + </dependency> |
| 34 | + <dependency> |
| 35 | + <groupId>org.apache.hive</groupId> |
| 36 | + <artifactId>hive-standalone-metastore-common</artifactId> |
| 37 | +- <version>${hive.version}</version> |
| 38 | ++ <version>${project.version}</version> |
| 39 | + </dependency> |
| 40 | + <dependency> |
| 41 | + <groupId>org.apache.hive</groupId> |
| 42 | + <artifactId>hive-iceberg-catalog</artifactId> |
| 43 | +- <version>${hive.version}</version> |
| 44 | ++ <version>${project.version}</version> |
| 45 | + </dependency> |
| 46 | + <!-- Test dependencies --> |
| 47 | + <dependency> |
| 48 | + <groupId>org.apache.hive</groupId> |
| 49 | + <artifactId>hive-standalone-metastore-common</artifactId> |
| 50 | +- <version>${hive.version}</version> |
| 51 | ++ <version>${project.version}</version> |
| 52 | + <classifier>tests</classifier> |
| 53 | + <scope>test</scope> |
| 54 | + </dependency> |
| 55 | + <dependency> |
| 56 | + <groupId>org.apache.hive</groupId> |
| 57 | + <artifactId>hive-standalone-metastore-server</artifactId> |
| 58 | +- <version>${hive.version}</version> |
| 59 | ++ <version>${project.version}</version> |
| 60 | + <classifier>tests</classifier> |
| 61 | + <scope>test</scope> |
| 62 | + </dependency> |
| 63 | +diff --git a/standalone-metastore/metastore-server/pom.xml b/standalone-metastore/metastore-server/pom.xml |
| 64 | +index 0e24b3ebc9..5ffdb4047f 100644 |
| 65 | +--- a/standalone-metastore/metastore-server/pom.xml |
| 66 | ++++ b/standalone-metastore/metastore-server/pom.xml |
| 67 | +@@ -28,7 +28,7 @@ |
| 68 | + <dependency> |
| 69 | + <groupId>org.apache.hive</groupId> |
| 70 | + <artifactId>hive-standalone-metastore-client</artifactId> |
| 71 | +- <version>${hive.version}</version> |
| 72 | ++ <version>${project.version}</version> |
| 73 | + </dependency> |
| 74 | + <dependency> |
| 75 | + <groupId>org.apache.httpcomponents</groupId> |
| 76 | +diff --git a/standalone-metastore/metastore-tools/metastore-benchmarks/pom.xml b/standalone-metastore/metastore-tools/metastore-benchmarks/pom.xml |
| 77 | +index 44281104b1..b6a1037574 100644 |
| 78 | +--- a/standalone-metastore/metastore-tools/metastore-benchmarks/pom.xml |
| 79 | ++++ b/standalone-metastore/metastore-tools/metastore-benchmarks/pom.xml |
| 80 | +@@ -46,7 +46,7 @@ |
| 81 | + <dependency> |
| 82 | + <groupId>org.apache.hive.hcatalog</groupId> |
| 83 | + <artifactId>hive-hcatalog-server-extensions</artifactId> |
| 84 | +- <version>${hive.version}</version> |
| 85 | ++ <version>${project.version}</version> |
| 86 | + <exclusions> |
| 87 | + <exclusion> |
| 88 | + <groupId>org.apache.zookeeper</groupId> |
| 89 | +diff --git a/standalone-metastore/metastore-tools/pom.xml b/standalone-metastore/metastore-tools/pom.xml |
| 90 | +index 4da5ea9d44..b184241f3e 100644 |
| 91 | +--- a/standalone-metastore/metastore-tools/pom.xml |
| 92 | ++++ b/standalone-metastore/metastore-tools/pom.xml |
| 93 | +@@ -39,7 +39,7 @@ |
| 94 | + <dependency> |
| 95 | + <groupId>org.apache.hive.hcatalog</groupId> |
| 96 | + <artifactId>hive-hcatalog-server-extensions</artifactId> |
| 97 | +- <version>${hive.version}</version> |
| 98 | ++ <version>${project.version}</version> |
| 99 | + <exclusions> |
| 100 | + <exclusion> |
| 101 | + <groupId>org.apache.zookeeper</groupId> |
| 102 | +diff --git a/standalone-metastore/packaging/pom.xml b/standalone-metastore/packaging/pom.xml |
| 103 | +index 5a526cf722..733a203db6 100644 |
| 104 | +--- a/standalone-metastore/packaging/pom.xml |
| 105 | ++++ b/standalone-metastore/packaging/pom.xml |
| 106 | +@@ -176,7 +176,7 @@ |
| 107 | + <dependency> |
| 108 | + <groupId>org.apache.hive</groupId> |
| 109 | + <artifactId>hive-metastore</artifactId> |
| 110 | +- <version>${hive.version}</version> |
| 111 | ++ <version>${project.version}</version> |
| 112 | + </dependency> |
| 113 | + <dependency> |
| 114 | + <groupId>org.apache.hive</groupId> |
| 115 | +@@ -192,13 +192,13 @@ |
| 116 | + <dependency> |
| 117 | + <groupId>org.apache.hive</groupId> |
| 118 | + <artifactId>hive-exec</artifactId> |
| 119 | +- <version>${hive.version}</version> |
| 120 | ++ <version>${project.version}</version> |
| 121 | + <classifier>core</classifier> |
| 122 | + </dependency> |
| 123 | + <dependency> |
| 124 | + <groupId>org.apache.hive</groupId> |
| 125 | + <artifactId>hive-iceberg-handler</artifactId> |
| 126 | +- <version>${hive.version}</version> |
| 127 | ++ <version>${project.version}</version> |
| 128 | + <exclusions> |
| 129 | + <exclusion> |
| 130 | + <groupId>org.apache.hive</groupId> |
0 commit comments