From 1483098d2abbaf9898f5f1d354e9e3e5c95e0ac1 Mon Sep 17 00:00:00 2001 From: Corneil du Plessis Date: Wed, 27 Nov 2024 14:39:56 +0200 Subject: [PATCH] Ensure maven can resolve locally. --- update-project-version.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/update-project-version.sh b/update-project-version.sh index 1876b8231..73177deba 100755 --- a/update-project-version.sh +++ b/update-project-version.sh @@ -12,6 +12,7 @@ function find_version() { echo $VER } ./mvnw clean install -DskipTests -T 1C +./mvnw clean -T 1C NEW_VERSION=$1 RELEASE_TRAIN_VERSION=$2 OLD_VERSION=$($SCDIR/mvnw help:evaluate -Dexpression=project.version -q -DforceStdout 2> /dev/null) @@ -26,12 +27,12 @@ echo "Release Train Version: [$OLD_RT_VERSION] -> [$RELEASE_TRAIN_VERSION]" set -e $SCDIR/mvnw versions:set -f stream-applications-build \ - -o -s .settings.xml -DgenerateBackupPoms=false -Dartifactory.publish.artifacts=false -B $VERBOSE \ + -s .settings.xml -DgenerateBackupPoms=false -Dartifactory.publish.artifacts=false -B $VERBOSE \ -DoldVersion="$OLD_VERSION" -DnewVersion="$NEW_VERSION" -DprocessAllModules=false $SCDIR/mvnw install -DskipResolution=true -pl :stream-applications-build -DskipTests -T 1C $SCDIR/mvnw versions:set -f functions/function-dependencies \ - -o -s .settings.xml -DgenerateBackupPoms=false -Dartifactory.publish.artifacts=false -B $VERBOSE \ + -s .settings.xml -DgenerateBackupPoms=false -Dartifactory.publish.artifacts=false -B $VERBOSE \ -DoldVersion="$OLD_VERSION" -DnewVersion="$NEW_VERSION" -DprocessAllModules=false $SCDIR/mvnw install -DskipResolution=true -pl :function-dependencies -DskipTests -T 1C