Skip to content

Commit b06732c

Browse files
committed
fix: Hive 4.0.0 build (#1182)
1 parent 672de70 commit b06732c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

hive/Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,8 @@ cp -r /stackable/patched-libs/maven/* /stackable/.m2/repository
4747

4848
NEW_VERSION="${PRODUCT}-stackable${RELEASE}"
4949

50-
mvn versions:set -DnewVersion=$NEW_VERSION -DartifactId=* -DgroupId=*
50+
# 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`
51+
mvn versions:set -DnewVersion=$NEW_VERSION -DartifactId=* -DgroupId=* -DgenerateBackupPoms=false
5152

5253
# Create snapshot of the source code including custom patches
5354
tar -czf /stackable/hive-${NEW_VERSION}-src.tar.gz .

0 commit comments

Comments
 (0)