From 165ddb441d7b0bc643108ccd06ef5eeeaa1e40a3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Herv=C3=A9=20Boutemy?= Date: Wed, 27 Nov 2024 08:33:31 +0100 Subject: [PATCH] [cleanup][build] skip generating pom.xml.versionsBackup (#23639) (cherry picked from commit dbfde02bd740d5a682575ee971e2eacc2b28b3d8) --- src/set-project-version.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/set-project-version.sh b/src/set-project-version.sh index cf67e37682ff1..cd3343871b3d5 100755 --- a/src/set-project-version.sh +++ b/src/set-project-version.sh @@ -36,8 +36,8 @@ pushd ${ROOT_DIR} # Get the current version OLD_VERSION=`python3 ${ROOT_DIR}/src/get-project-version.py` -mvn versions:set -DnewVersion=$NEW_VERSION -mvn versions:set -DnewVersion=$NEW_VERSION -pl buildtools +mvn versions:set -DnewVersion=$NEW_VERSION -DgenerateBackupPoms=false +mvn versions:set -DnewVersion=$NEW_VERSION -DgenerateBackupPoms=false -pl buildtools # Set terraform ansible deployment pulsar version sed -i -e "s/${OLD_VERSION}/${NEW_VERSION}/g" ${TERRAFORM_DIR}/deploy-pulsar.yaml