aboutsummaryrefslogtreecommitdiffstats
path: root/mvn-phase-script.sh
diff options
context:
space:
mode:
authorvv770d <vv770d@att.com>2022-04-25 21:14:50 +0000
committerVijay Venkatesh Kumar <vv770d@att.com>2022-04-27 16:43:43 +0000
commit5116f87391d00c04b789a59d1abcebbbf80147ad (patch)
tree3f4f1cb938a80e830aae560cd816b2fa05a36b3d /mvn-phase-script.sh
parent90364aa8ccb8078a2e857e9956adc5c156218427 (diff)
R11 tag/path update
Switch to local mvn-phase-lib.sh and remove nexus raw dependency Change-Id: I284b69eb4083abf86c7ea14c779c36434a4ed12d Signed-off-by: vv770d <vv770d@att.com> Issue-ID: DCAEGEN2-3144 Issue-ID: DCAEGEN2-2973 Issue-ID: DCAEGEN2-3134 Signed-off-by: vv770d <vv770d@att.com>
Diffstat (limited to 'mvn-phase-script.sh')
-rwxr-xr-xmvn-phase-script.sh22
1 files changed, 2 insertions, 20 deletions
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