maven-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bentm...@apache.org
Subject svn commit: r953627 - /maven/core-integration-testing/trunk/core-it-suite/src/test/java/org/apache/maven/it/MavenITmng3314OfflineSnapshotsTest.java
Date Fri, 11 Jun 2010 09:44:01 GMT
Author: bentmann
Date: Fri Jun 11 09:44:01 2010
New Revision: 953627

URL: http://svn.apache.org/viewvc?rev=953627&view=rev
Log:
o Adjusted tests to use same set of repos across Maven runs

Modified:
    maven/core-integration-testing/trunk/core-it-suite/src/test/java/org/apache/maven/it/MavenITmng3314OfflineSnapshotsTest.java

Modified: maven/core-integration-testing/trunk/core-it-suite/src/test/java/org/apache/maven/it/MavenITmng3314OfflineSnapshotsTest.java
URL: http://svn.apache.org/viewvc/maven/core-integration-testing/trunk/core-it-suite/src/test/java/org/apache/maven/it/MavenITmng3314OfflineSnapshotsTest.java?rev=953627&r1=953626&r2=953627&view=diff
==============================================================================
--- maven/core-integration-testing/trunk/core-it-suite/src/test/java/org/apache/maven/it/MavenITmng3314OfflineSnapshotsTest.java
(original)
+++ maven/core-integration-testing/trunk/core-it-suite/src/test/java/org/apache/maven/it/MavenITmng3314OfflineSnapshotsTest.java
Fri Jun 11 09:44:01 2010
@@ -67,8 +67,10 @@ public class MavenITmng3314OfflineSnapsh
         {
             // phase 2: run build in offline mode to check it still passes
             Verifier verifier = new Verifier( testDir.getAbsolutePath() );
-            verifier.setCliOptions( Collections.singletonList( "-o" ) );
             verifier.setLogFileName( "log2.txt" );
+            verifier.getCliOptions().add( "-o" );
+            verifier.getCliOptions().add( "--settings" );
+            verifier.getCliOptions().add( "settings.xml" );
             verifier.executeGoal( "validate" );
             verifier.assertFilePresent( "target/compile.txt" );
             verifier.verifyErrorFreeLog();



Mime
View raw message