mirror of
https://github.com/apache/maven.git
synced 2025-02-08 19:15:12 +00:00
f294f0240e
git-svn-id: https://svn.apache.org/repos/asf/maven/core-integration-testing/trunk@539914 13f79535-47bb-0310-9956-ffa450edef68
31 lines
640 B
Bash
Executable File
31 lines
640 B
Bash
Executable File
#!/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
|
|
)
|
|
|
|
rm -rf "${LOCAL_REPO}"
|
|
mv "${LOCAL_REPO}.its" "${LOCAL_REPO}"
|