You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by rf...@apache.org on 2020/05/09 21:39:35 UTC

[maven-integration-testing] branch MNG-5937 updated: try with explicit MAVEN_BASEDIR

This is an automated email from the ASF dual-hosted git repository.

rfscholte pushed a commit to branch MNG-5937
in repository https://gitbox.apache.org/repos/asf/maven-integration-testing.git


The following commit(s) were added to refs/heads/MNG-5937 by this push:
     new a5d74d2  try with explicit MAVEN_BASEDIR
a5d74d2 is described below

commit a5d74d29c81d40064a963af9b1fd9fcd45b0d4e8
Author: rfscholte <rf...@apache.org>
AuthorDate: Sat May 9 23:39:23 2020 +0200

    try with explicit MAVEN_BASEDIR
---
 .../src/test/java/org/apache/maven/it/MavenITmng5937MavenWrapper.java   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/core-it-suite/src/test/java/org/apache/maven/it/MavenITmng5937MavenWrapper.java b/core-it-suite/src/test/java/org/apache/maven/it/MavenITmng5937MavenWrapper.java
index fd2f2d0..6360d57 100644
--- a/core-it-suite/src/test/java/org/apache/maven/it/MavenITmng5937MavenWrapper.java
+++ b/core-it-suite/src/test/java/org/apache/maven/it/MavenITmng5937MavenWrapper.java
@@ -74,7 +74,6 @@ public class MavenITmng5937MavenWrapper
         
         envVars = new HashMap<>( 4 );
         envVars.put( "MVNW_REPOURL", Paths.get( localRepo ).toUri().toURL().toString() );
-        envVars.put( "MAVEN_BATCH_ECHO", "on" );
         envVars.put( "MVNW_VERBOSE", "true" );
         String javaHome = System.getenv( "JAVA_HOME" );
         if ( javaHome != null )
@@ -95,6 +94,7 @@ public class MavenITmng5937MavenWrapper
         Verifier verifier = newVerifier( testDir.getAbsolutePath() );
         verifier.setAutoclean( false );
         verifier.setDebug( true );
+        verifier.setEnvironmentVariable( "MAVEN_BASEDIR", testDir.getAbsolutePath() );
         verifier.executeGoal( "validate", envVars );
         verifier.verifyErrorFreeLog();
         verifier.resetStreams();