maven-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bentm...@apache.org
Subject svn commit: r696386 - /maven/shared/trunk/maven-verifier/src/main/java/org/apache/maven/it/Verifier.java
Date Wed, 17 Sep 2008 18:09:44 GMT
Author: bentmann
Date: Wed Sep 17 11:09:43 2008
New Revision: 696386

URL: http://svn.apache.org/viewvc?rev=696386&view=rev
Log:
[MSHARED-73] Verifier doesn't throw VerificationException upon non-zero exit code of mvn.bat
on Windows

Modified:
    maven/shared/trunk/maven-verifier/src/main/java/org/apache/maven/it/Verifier.java

Modified: maven/shared/trunk/maven-verifier/src/main/java/org/apache/maven/it/Verifier.java
URL: http://svn.apache.org/viewvc/maven/shared/trunk/maven-verifier/src/main/java/org/apache/maven/it/Verifier.java?rev=696386&r1=696385&r2=696386&view=diff
==============================================================================
--- maven/shared/trunk/maven-verifier/src/main/java/org/apache/maven/it/Verifier.java (original)
+++ maven/shared/trunk/maven-verifier/src/main/java/org/apache/maven/it/Verifier.java Wed
Sep 17 11:09:43 2008
@@ -981,6 +981,8 @@
                 cli.addEnvironment( "JAVA_HOME", System.getProperty( "java.home" ) );
             }
 
+            cli.addEnvironment( "MAVEN_TERMINATE_CMD", "on" );
+
             cli.setWorkingDirectory( getBasedir() );
 
             for ( Iterator it = cliOptions.iterator(); it.hasNext(); )



Mime
View raw message