6 if [ -z "$JAVA_HOME" ]; then
7 echo You must specify the JAVA_HOME environment variable
11 JAVACMD="$JAVA_HOME/bin/java"
13 BOOTSTRAP_JAR=bootstrap-mini/bootstrap-mini.jar
15 # TODO: get rid of M2_HOME once integration tests are in here
16 PREFIX=`dirname $M2_HOME`
18 # OS specific support. $var _must_ be set to either true or false.
21 CYGWIN*) cygwin=true ;;
24 if [ "$cygwin" = "true" ]; then
25 PREFIX=`cygpath -w $PREFIX`
26 JAVA_HOME=`cygpath -w $JAVA_HOME`
32 # TODO: should we be going back to the mini now that we have the real thing?
33 cd maven-core-it-verifier
34 $JAVACMD $MAVEN_OPTS -jar ../bootstrap/$BOOTSTRAP_JAR package $ARGS
35 ret=$?; if [ $ret != 0 ]; then exit $ret; fi
37 ret=$?; if [ $ret != 0 ]; then exit $ret; fi
42 echo "Running maven-core integration tests ..."
44 ./maven-core-it.sh $ARGS
45 ret=$?; if [ $ret != 0 ]; then exit $ret; fi
47 ret=$?; if [ $ret != 0 ]; then exit $ret; fi