You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by hb...@apache.org on 2019/07/20 17:26:44 UTC

[maven-integration-testing] branch master updated: added some output to investigate unexpected failures

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

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


The following commit(s) were added to refs/heads/master by this push:
     new ef38c8f  added some output to investigate unexpected failures
ef38c8f is described below

commit ef38c8f5e7418945d9d035011dd8a4aea7c7b8b4
Author: Hervé Boutemy <hb...@apache.org>
AuthorDate: Sat Jul 20 19:26:40 2019 +0200

    added some output to investigate unexpected failures
---
 .../org/apache/maven/it/MavenITmng0553SettingsAuthzEncryptionTest.java  | 2 ++
 core-it-suite/src/test/resources/mng-0553/test-1/pom.xml                | 2 +-
 2 files changed, 3 insertions(+), 1 deletion(-)

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 5c0c5ba..db5e62d 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
@@ -124,6 +124,7 @@ public class MavenITmng0553SettingsAuthzEncryptionTest
         verifier.assertArtifactNotPresent( "org.apache.maven.its.mng0553", "a", "0.1-SNAPSHOT", "jar" );
         verifier.filterFile( "settings-template.xml", "settings.xml", "UTF-8", filterProps );
         setUserHome( verifier, new File( testDir, "userhome" ) );
+        verifier.addCliOption( "--show-version" );
         verifier.addCliOption( "--settings" );
         verifier.addCliOption( "settings.xml" );
         verifier.executeGoal( "validate" );
@@ -195,6 +196,7 @@ public class MavenITmng0553SettingsAuthzEncryptionTest
         verifier = newVerifier( testDir.getAbsolutePath() );
         verifier.setAutoclean( false );
         setUserHome( verifier, new File( testDir, "userhome" ) );
+        verifier.addCliOption( "--show-version" );
         verifier.addCliOption( "--encrypt-password" );
         verifier.addCliOption( "testpass" );
         verifier.setLogFileName( "log-ep.txt" );
diff --git a/core-it-suite/src/test/resources/mng-0553/test-1/pom.xml b/core-it-suite/src/test/resources/mng-0553/test-1/pom.xml
index 477bb1a..fdf4bd5 100644
--- a/core-it-suite/src/test/resources/mng-0553/test-1/pom.xml
+++ b/core-it-suite/src/test/resources/mng-0553/test-1/pom.xml
@@ -28,7 +28,7 @@ under the License.
   <version>1.0-SNAPSHOT</version>
   <packaging>jar</packaging>
 
-  <name>Maven Integration Test :: MNG-533</name>
+  <name>Maven Integration Test :: MNG-533 ${user.home}</name>
   <description>
     Test that the auth infos given in the settings.xml are properly decrypted.
   </description>