#!/bin/sh CACHE_PATH=`realpath tests-cache` || exit 1 cd tests || exit 1 rm -f maven-settings.xml || exit 1 cat > maven-settings.xml < ${CACHE_PATH} EOF exec mvn --settings maven-settings.xml -U -C clean test