From 5116f87391d00c04b789a59d1abcebbbf80147ad Mon Sep 17 00:00:00 2001 From: vv770d Date: Mon, 25 Apr 2022 21:14:50 +0000 Subject: R11 tag/path update Switch to local mvn-phase-lib.sh and remove nexus raw dependency Change-Id: I284b69eb4083abf86c7ea14c779c36434a4ed12d Signed-off-by: vv770d Issue-ID: DCAEGEN2-3144 Issue-ID: DCAEGEN2-2973 Issue-ID: DCAEGEN2-3134 Signed-off-by: vv770d --- mvn-phase-script.sh | 22 ++-------------------- 1 file changed, 2 insertions(+), 20 deletions(-) (limited to 'mvn-phase-script.sh') diff --git a/mvn-phase-script.sh b/mvn-phase-script.sh index 42d665c..9599487 100755 --- a/mvn-phase-script.sh +++ b/mvn-phase-script.sh @@ -1,7 +1,7 @@ #!/bin/bash # ================================================================================ -# Copyright (c) 2017-2021 AT&T Intellectual Property. All rights reserved. +# Copyright (c) 2017-2022 AT&T Intellectual Property. All rights reserved. # ================================================================================ # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -27,25 +27,7 @@ MVN_PROJECT_MODULEID="$1" MVN_PHASE="$2" PROJECT_ROOT=$(dirname $0) - -echo "MVN_RELEASE_TAG is set to [$MVN_RELEASE_TAG]" -RELEASE_TAG=${MVN_RELEASE_TAG:-R10} -if [ "$RELEASE_TAG" != "R1" ]; then - RELEASE_TAGGED_DIR="${RELEASE_TAG}/" -else - RELEASE_TAGGED_DIR="" -fi - -#source "${PROJECT_ROOT}"/mvn-phase-lib.sh -if ! wget -O ${PROJECT_ROOT}/mvn-phase-lib.sh \ - "$MVN_RAWREPO_BASEURL_DOWNLOAD"/org.onap.dcaegen2.utils/${RELEASE_TAGGED_DIR}scripts/mvn-phase-lib.sh; then - echo "Fail to download mvn-phase-lib.sh" - exit 1 -fi - - -source ./mvn-phase-lib.sh - +source "${PROJECT_ROOT}"/mvn-phase-lib.sh # Customize the section below for each project case $MVN_PHASE in -- cgit 1.2.3-korg