From a7a5837b436be8d21d3df9cf177ff525acc54118 Mon Sep 17 00:00:00 2001 From: Lusheng Ji Date: Wed, 20 Sep 2017 03:57:14 +0000 Subject: Update parent ID Issue-Id: DCAEGEN2-60 Change-Id: I40996ee4766b068568cd1c5978e1fbd0812b34c7 Signed-off-by: Lusheng Ji --- mvn-phase-script.sh | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) (limited to 'mvn-phase-script.sh') diff --git a/mvn-phase-script.sh b/mvn-phase-script.sh index 094e642..091abb6 100755 --- a/mvn-phase-script.sh +++ b/mvn-phase-script.sh @@ -56,7 +56,7 @@ case $MVN_PHASE in clean) echo "==> clean phase script" case $MVN_PROJECT_MODULEID in - check-blueprint-vs-input | repackage) + check-blueprint-vs-input | repackage) if [ -f makefile -o -f Makefile ];then make clean; else :; fi ;; *) @@ -69,7 +69,7 @@ clean) generate-sources) echo "==> generate-sources phase script" case $MVN_PROJECT_MODULEID in - check-blueprint-vs-input | repackage) + check-blueprint-vs-input | repackage) if [ -f makefile -o -f Makefile ];then make generate-sources; else :; fi ;; *) @@ -80,7 +80,7 @@ generate-sources) compile) echo "==> compile phase script" case $MVN_PROJECT_MODULEID in - check-blueprint-vs-input | repackage) + check-blueprint-vs-input | repackage) if [ -f makefile -o -f Makefile ];then make compile; else :; fi ;; *) @@ -90,7 +90,7 @@ compile) test) echo "==> test phase script" case $MVN_PROJECT_MODULEID in - check-blueprint-vs-input | repackage) + check-blueprint-vs-input | repackage) if [ -f makefile -o -f Makefile ];then make test; else :; fi ;; *) @@ -103,7 +103,7 @@ test) package) echo "==> package phase script" case $MVN_PROJECT_MODULEID in - check-blueprint-vs-input | repackage) + check-blueprint-vs-input | repackage) if [ -f makefile -o -f Makefile ];then make package; else :; fi ;; *) @@ -113,7 +113,7 @@ package) install) echo "==> install phase script" case $MVN_PROJECT_MODULEID in - check-blueprint-vs-input | repackage) + check-blueprint-vs-input | repackage) if [ -f makefile -o -f Makefile ];then make install; else :; fi ;; *) @@ -123,7 +123,7 @@ install) deploy) echo "==> deploy phase script" case $MVN_PROJECT_MODULEID in - check-blueprint-vs-input | repackage) + check-blueprint-vs-input | repackage) if [ -f makefile -o -f Makefile ];then make deploy else # Upload all files (listed as additional deployment arguments) to Nexus @@ -136,7 +136,10 @@ deploy) fi ;; *) - generate_pypirc_then_publish + # uncomment after we figure out how to use pypi. this command expects that the credentials are passed in + # settings.xml, and the URL and serverid are passed in from either oparent or dcaegen2's root pom + # before this is ready comment below out + #generate_pypirc_then_publish ;; esac ;; -- cgit 1.2.3-korg