summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLusheng Ji <lji@research.att.com>2017-10-13 21:45:18 +0000
committerLusheng Ji <lji@research.att.com>2017-10-13 21:45:24 +0000
commit310c9c1b71529a26a99f47852f5c566df8fbc909 (patch)
tree680d9c2b79e99e91f77462146dab079639aad67d
parent2e00e25f9e37e6eada32fbd69570c1129c9549fa (diff)
Add script upload to snapshots
Issue-Id: DCAEGEN2-128 Change-Id: I90d456e43f0ad42f5b34c52476d7993ccc044ff1 Signed-off-by: Lusheng Ji <lji@research.att.com>
-rwxr-xr-xmvn-phase-script.sh5
-rw-r--r--pom.xml1
2 files changed, 4 insertions, 2 deletions
diff --git a/mvn-phase-script.sh b/mvn-phase-script.sh
index ab823bf..5fa716a 100755
--- a/mvn-phase-script.sh
+++ b/mvn-phase-script.sh
@@ -45,8 +45,6 @@ if ! wget -O ${PROJECT_ROOT}/mvn-phase-lib.sh \
fi
source "${PROJECT_ROOT}"/mvn-phase-lib.sh
-cat "${PROJECT_ROOT}"/mvn-phase-lib.sh
-
# This is the base for where "deploy" will upload
# MVN_NEXUSPROXY is set in the pom.xml
@@ -97,6 +95,9 @@ test)
package)
echo "==> package phase script"
case $MVN_PROJECT_MODULEID in
+ scripts)
+ upload_files_of_extension "sh" "$MVN_PROJECT_MODULEID"
+ ;;
*)
;;
esac
diff --git a/pom.xml b/pom.xml
index 2eddf1c..7afe47a 100644
--- a/pom.xml
+++ b/pom.xml
@@ -33,6 +33,7 @@ ECOMP is a trademark and service mark of AT&T Intellectual Property.
<url>http://maven.apache.org</url>
<packaging>pom</packaging>
<modules>
+ <module>scripts</module>
<module>onap-dcae-cbs-docker-client</module>
<module>onap-dcae-dcaepolicy-lib</module>
<module>python-discovery-client</module>