From fe1f7cd5d0ebd764d76250134bcd9429a8b9db69 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Herv=C3=A9=20Boutemy?= Date: Sat, 20 Jul 2019 19:26:40 +0200 Subject: [PATCH] added some output to investigate unexpected failures --- .../maven/it/MavenITmng0553SettingsAuthzEncryptionTest.java | 2 ++ its/core-it-suite/src/test/resources/mng-0553/test-1/pom.xml | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/its/core-it-suite/src/test/java/org/apache/maven/it/MavenITmng0553SettingsAuthzEncryptionTest.java b/its/core-it-suite/src/test/java/org/apache/maven/it/MavenITmng0553SettingsAuthzEncryptionTest.java index 5c0c5ba0b6..db5e62d8a2 100644 --- a/its/core-it-suite/src/test/java/org/apache/maven/it/MavenITmng0553SettingsAuthzEncryptionTest.java +++ b/its/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/its/core-it-suite/src/test/resources/mng-0553/test-1/pom.xml b/its/core-it-suite/src/test/resources/mng-0553/test-1/pom.xml index 477bb1a31f..fdf4bd5a69 100644 --- a/its/core-it-suite/src/test/resources/mng-0553/test-1/pom.xml +++ b/its/core-it-suite/src/test/resources/mng-0553/test-1/pom.xml @@ -28,7 +28,7 @@ under the License. 1.0-SNAPSHOT jar - Maven Integration Test :: MNG-533 + Maven Integration Test :: MNG-533 ${user.home} Test that the auth infos given in the settings.xml are properly decrypted.