mirror of https://github.com/apache/maven.git
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:
parent
3cd0e3318f
commit
c3343969b0
|
@ -289,7 +289,7 @@ public class MavenITmng2883LegacyRepoOfflineTest
|
||||||
|
|
||||||
try
|
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" );
|
verifier.executeGoal( "org.apache.maven.its.mng2883:plugin:1.0-SNAPSHOT:run" );
|
||||||
|
|
||||||
fail( "Build should fail with unresolvable plugin artifact." );
|
fail( "Build should fail with unresolvable plugin artifact." );
|
||||||
|
@ -300,7 +300,7 @@ public class MavenITmng2883LegacyRepoOfflineTest
|
||||||
|
|
||||||
List missingMessages = new ArrayList();
|
List missingMessages = new ArrayList();
|
||||||
missingMessages.add( "System is offline." );
|
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 );
|
List lines = verifier.loadFile( new File( testDir, verifier.getLogFileName() ), false );
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue