#!/bin/sh # This process assumes that maven-core-it-verifier has been built. cp=../maven-core-it-verifier/target/maven-core-it-verifier-1.0.jar verifier=org.apache.maven.it.Verifier # OS specific support. $var _must_ be set to either true or false. cygwin=false; case "`uname`" in CYGWIN*) cygwin=true ;; esac # For Cygwin, ensure paths are in UNIX format before anything is touched if $cygwin ; then [ -n "$JAVA_HOME" ] && JAVA_HOME=`cygpath -w "$JAVA_HOME"` export JAVA_HOME [ -n "$M2_HOME" ] && M2_HOME=`cygpath -w "$M2_HOME"` fi if [ ! -z "$M2_HOME" ]; then jvm_m2_home="-Dmaven.home=$M2_HOME" fi java "$jvm_m2_home" $MAVEN_OPTS -cp "$cp" $verifier $@