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 .