blob: 2bd7b8fa7c3a2448acd0d0d7357e66aae86b0c70 [file] [log] [blame]
#!/bin/bash
BASEDIR=$(dirname $0)
. $BASEDIR/_functions.sh
function usage {
cat << EOF
${PRG} [-h] -r <RELEASE>
-h - Usage info
Example: ${PRG} -f <module>/pom.xml
EOF
}
function get_options {
# Loop until all parameters are used up
while [ "$1" != "" ]; do
case $1 in
-h | --help ) usage
exit 7
;;
* ) break;;
esac
shift
done
_MAVEN_OPTS="$_MAVEN_OPTS $@"
}
get_options $*
_MAVEN_OPTS="$_MAVEN_OPTS -e -B"
# Parallel executions of maven modules and tests.
mvn clean install -T1 -Dmaster_test_forkCount=1 -f org.eclipse.scout.rt $_MAVEN_OPTS