2007-01-17 18:31:24 -05:00
|
|
|
#!/bin/sh
|
|
|
|
|
2007-04-05 19:00:31 -04:00
|
|
|
[ -z "$LOCAL_REPO" ] && echo && echo "Set your LOCAL_REPO envar!" && echo && exit
|
2007-01-17 18:31:24 -05:00
|
|
|
|
|
|
|
echo "Using $LOCAL_REPO ..."
|
|
|
|
|
2007-04-05 19:00:31 -04:00
|
|
|
mv "${LOCAL_REPO}" "${LOCAL_REPO}.its"
|
2007-01-17 18:31:24 -05:00
|
|
|
|
|
|
|
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
|
|
|
|
)
|
|
|
|
|
2007-04-05 19:00:31 -04:00
|
|
|
mv "${LOCAL_REPO}.its" "${LOCAL_REPO}"
|