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, 2 insertions, 4 deletions
diff --git a/mvn-phase-script.sh b/mvn-phase-script.sh
index 0978017..519e809 100755
--- a/mvn-phase-script.sh
+++ b/mvn-phase-script.sh
@@ -58,10 +58,7 @@ if [ -z "$WORKSPACE" ]; then
WORKSPACE=$(pwd)
fi
-if [ -z "$SETTINGS_FILE" ]; then
- echo "SETTINGS_FILE environment variable not set. Cannot proceed"
- exit
-fi
+export SETTINGS_FILE=${SETTINGS_FILE:-$HOME/.m2/settings.xml}
@@ -105,6 +102,7 @@ compile)
;;
test)
echo "==> test phase script"
+ run_tox_test
;;
package)
echo "==> package phase script"