mirror of https://github.com/apache/maven.git
o Changed the it scripts to remove the $MAVEN_OPTS from the verifier launch line, so that we can remotely debug an integration test execution (rather than getting stuck on the verifier execution itself)
o Added lines in it0015 and it0020 prebuild-hooks to remove the IT plugins before executing, to avoid weird, intermittent Zip exceptions. git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@226330 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
9d6ba0d633
commit
ebbf8db6f8
|
@ -1 +1,2 @@
|
|||
rm ${artifact:org.apache.maven.plugins:maven-it0015-plugin:1.0-SNAPSHOT:maven-plugin}
|
||||
rm target/out.txt
|
||||
|
|
|
@ -1 +1,2 @@
|
|||
rm ${artifact:org.apache.maven.plugins:maven-it0020-plugin:1.0-SNAPSHOT:maven-plugin}
|
||||
rm target/out.txt
|
||||
|
|
|
@ -20,5 +20,5 @@
|
|||
@REM NOTE: for simplicity, only Windows NT/2000/XP is current supported
|
||||
@REM This also assumes that M2_HOME and JAVA_HOME are set, which are verified in the bootstrap script only
|
||||
|
||||
"%JAVA_HOME%\bin\java.exe" -Dmaven.home="%M2_HOME%" %MAVEN_OPTS% -cp "..\maven-core-it-verifier\target\maven-core-it-verifier-1.0.jar" org.apache.maven.it.Verifier %*
|
||||
"%JAVA_HOME%\bin\java.exe" -Dmaven.home="%M2_HOME%" -cp "..\maven-core-it-verifier\target\maven-core-it-verifier-1.0.jar" org.apache.maven.it.Verifier %*
|
||||
|
||||
|
|
|
@ -23,5 +23,6 @@ if [ ! -z "$M2_HOME" ]; then
|
|||
jvm_m2_home="-Dmaven.home=$M2_HOME"
|
||||
fi
|
||||
|
||||
java "$jvm_m2_home" $MAVEN_OPTS -cp "$cp" $verifier $@
|
||||
#java "$jvm_m2_home" $MAVEN_OPTS -cp "$cp" $verifier $@
|
||||
java "$jvm_m2_home" -cp "$cp" $verifier $@
|
||||
|
||||
|
|
Loading…
Reference in New Issue