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 2019/07/27 13:46:42 UTC

[maven-integration-testing] branch MNG-6714 created (now 899759d)

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

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


      at 899759d  Prefer System Properties over Environment Variables

This branch includes the following new commits:

     new 899759d  Prefer System Properties over Environment Variables

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



[maven-integration-testing] 01/01: Prefer System Properties over Environment Variables

Posted by rf...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

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

commit 899759d67b7150b84abf39c87f0e41b1214c9a6b
Author: rfscholte <rf...@apache.org>
AuthorDate: Sat Jul 27 15:46:33 2019 +0200

    Prefer System Properties over Environment Variables
---
 .../apache/maven/it/MavenITmng0553SettingsAuthzEncryptionTest.java    | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/core-it-suite/src/test/java/org/apache/maven/it/MavenITmng0553SettingsAuthzEncryptionTest.java b/core-it-suite/src/test/java/org/apache/maven/it/MavenITmng0553SettingsAuthzEncryptionTest.java
index db5e62d..4bb22d0 100644
--- a/core-it-suite/src/test/java/org/apache/maven/it/MavenITmng0553SettingsAuthzEncryptionTest.java
+++ b/core-it-suite/src/test/java/org/apache/maven/it/MavenITmng0553SettingsAuthzEncryptionTest.java
@@ -227,11 +227,11 @@ public class MavenITmng0553SettingsAuthzEncryptionTest
         String path = home.getAbsolutePath();
         if ( path.indexOf( ' ' ) < 0 )
         {
-            verifier.setEnvironmentVariable( "MAVEN_OPTS", "-Duser.home=" + path );
+            verifier.setSystemProperty( "user.home", path );
         }
         else
         {
-            verifier.setEnvironmentVariable( "MAVEN_OPTS", "\"-Duser.home=" + path + "\"" );
+            verifier.setSystemProperty( "user.home", "\"" + path + "\"" );
         }
     }