o Relaxed checking of build log to compensate for differences between Maven 2.x and 3.x

git-svn-id: https://svn.apache.org/repos/asf/maven/core-integration-testing/trunk@711646 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Benjamin Bentmann 2008-11-05 18:26:23 +00:00
parent 3cd0e3318f
commit c3343969b0
1 changed files with 2 additions and 2 deletions

View File

@ -289,7 +289,7 @@ public class MavenITmng2883LegacyRepoOfflineTest
try
{
verifier.setLogFileName( "log-plugin-a.txt" );
verifier.setLogFileName( "log-plugin-c.txt" );
verifier.executeGoal( "org.apache.maven.its.mng2883:plugin:1.0-SNAPSHOT:run" );
fail( "Build should fail with unresolvable plugin artifact." );
@ -300,7 +300,7 @@ public class MavenITmng2883LegacyRepoOfflineTest
List missingMessages = new ArrayList();
missingMessages.add( "System is offline." );
missingMessages.add( "org.apache.maven.its.mng2883:plugin:pom:1.0-SNAPSHOT" );
missingMessages.add( "org.apache.maven.its.mng2883:plugin" );
List lines = verifier.loadFile( new File( testDir, verifier.getLogFileName() ), false );