From 4c4b85767ab4b5a027f73f0de601818514bcedf7 Mon Sep 17 00:00:00 2001 From: Jason van Zyl Date: Wed, 17 Jan 2007 23:31:24 +0000 Subject: [PATCH] o little script for andy/kenny/me for testing git-svn-id: https://svn.apache.org/repos/asf/maven/core-integration-testing/trunk@497243 13f79535-47bb-0310-9956-ffa450edef68 --- its/run-its.sh | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100755 its/run-its.sh diff --git a/its/run-its.sh b/its/run-its.sh new file mode 100755 index 0000000000..29aa7e3780 --- /dev/null +++ b/its/run-its.sh @@ -0,0 +1,29 @@ +#!/bin/sh + +[ -z $LOCAL_REPO ] && echo && echo "Set your LOCAL_REPO envar!" && echo && exit + +echo "Using $LOCAL_REPO ..." + +mv ${LOCAL_REPO} ${LOCAL_REPO}.its + +mvn -N install + +( + cd core-integration-testing-plugins + mvn install + ret=$?; if [ $ret != 0 ]; then echo "Failed to install IT plugins" && exit $ret; fi +) + +( + cd core-integration-testing-support + mvn install + ret=$?; if [ $ret != 0 ]; then echo "Failed to install IT support artifacts." && exit $ret; fi +) + +( + cd core-integration-tests + mvn clean test + ret=$?; if [ $ret != 0 ]; then exit $ret; fi +) + +mv ${LOCAL_REPO}.its ${LOCAL_REPO}