summaryrefslogtreecommitdiffstats
path: root/mvn-phase-script.sh
diff options
context:
space:
mode:
Diffstat (limited to 'mvn-phase-script.sh')
-rwxr-xr-xmvn-phase-script.sh6
1 files changed, 5 insertions, 1 deletions
diff --git a/mvn-phase-script.sh b/mvn-phase-script.sh
index 184ac99..3da3e01 100755
--- a/mvn-phase-script.sh
+++ b/mvn-phase-script.sh
@@ -115,7 +115,11 @@ install)
;;
deploy)
echo "==> deploy phase script"
- upload_files_of_extension yaml
+ if [ -z "$MVN_PROJECT_MODULEID" ]; then
+ upload_files_of_extension yaml
+ else
+ upload_files_of_extension yaml "$MVN_PROJECT_MODULEID"
+ fi
;;
*)
echo "==> unprocessed phase"