From d9f19b2f4827eb68d82ab95876c945c12721258f Mon Sep 17 00:00:00 2001 From: dervoeti Date: Wed, 18 Jun 2025 12:19:12 +0200 Subject: [PATCH] fix: Hive 4.0.0 build --- hive/Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/hive/Dockerfile b/hive/Dockerfile index dc5bbc0c1..25a863892 100644 --- a/hive/Dockerfile +++ b/hive/Dockerfile @@ -47,7 +47,8 @@ cp -r /stackable/patched-libs/maven/* /stackable/.m2/repository NEW_VERSION="${PRODUCT}-stackable${RELEASE}" -mvn versions:set -DnewVersion=$NEW_VERSION -DartifactId=* -DgroupId=* +# generateBackupPoms=false is needed for the Hive 4.0.0 build to succeed, otherwise it fails with the obscure reason: `Too many files with unapproved license` +mvn versions:set -DnewVersion=$NEW_VERSION -DartifactId=* -DgroupId=* -DgenerateBackupPoms=false # Create snapshot of the source code including custom patches tar -czf /stackable/hive-${NEW_VERSION}-src.tar.gz .