added some output to investigate unexpected failures

This commit is contained in:
Hervé Boutemy 2019-07-20 19:26:40 +02:00
parent b4a1558c6e
commit fe1f7cd5d0
2 changed files with 3 additions and 1 deletions

View File

@ -124,6 +124,7 @@ public class MavenITmng0553SettingsAuthzEncryptionTest
verifier.assertArtifactNotPresent( "org.apache.maven.its.mng0553", "a", "0.1-SNAPSHOT", "jar" ); verifier.assertArtifactNotPresent( "org.apache.maven.its.mng0553", "a", "0.1-SNAPSHOT", "jar" );
verifier.filterFile( "settings-template.xml", "settings.xml", "UTF-8", filterProps ); verifier.filterFile( "settings-template.xml", "settings.xml", "UTF-8", filterProps );
setUserHome( verifier, new File( testDir, "userhome" ) ); setUserHome( verifier, new File( testDir, "userhome" ) );
verifier.addCliOption( "--show-version" );
verifier.addCliOption( "--settings" ); verifier.addCliOption( "--settings" );
verifier.addCliOption( "settings.xml" ); verifier.addCliOption( "settings.xml" );
verifier.executeGoal( "validate" ); verifier.executeGoal( "validate" );
@ -195,6 +196,7 @@ public class MavenITmng0553SettingsAuthzEncryptionTest
verifier = newVerifier( testDir.getAbsolutePath() ); verifier = newVerifier( testDir.getAbsolutePath() );
verifier.setAutoclean( false ); verifier.setAutoclean( false );
setUserHome( verifier, new File( testDir, "userhome" ) ); setUserHome( verifier, new File( testDir, "userhome" ) );
verifier.addCliOption( "--show-version" );
verifier.addCliOption( "--encrypt-password" ); verifier.addCliOption( "--encrypt-password" );
verifier.addCliOption( "testpass" ); verifier.addCliOption( "testpass" );
verifier.setLogFileName( "log-ep.txt" ); verifier.setLogFileName( "log-ep.txt" );

View File

@ -28,7 +28,7 @@ under the License.
<version>1.0-SNAPSHOT</version> <version>1.0-SNAPSHOT</version>
<packaging>jar</packaging> <packaging>jar</packaging>
<name>Maven Integration Test :: MNG-533</name> <name>Maven Integration Test :: MNG-533 ${user.home}</name>
<description> <description>
Test that the auth infos given in the settings.xml are properly decrypted. Test that the auth infos given in the settings.xml are properly decrypted.
</description> </description>