You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by sl...@apache.org on 2019/01/05 20:10:44 UTC

[maven-integration-testing] branch MNG-5693 created (now 8b5dc21)

This is an automated email from the ASF dual-hosted git repository.

slachiewicz pushed a change to branch MNG-5693
in repository https://gitbox.apache.org/repos/asf/maven-integration-testing.git.


      at 8b5dc21  [MNG-5693] Remove check for link to cwiki

This branch includes the following new commits:

     new 8b5dc21  [MNG-5693] Remove check for link to cwiki

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



[maven-integration-testing] 01/01: [MNG-5693] Remove check for link to cwiki

Posted by sl...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

slachiewicz pushed a commit to branch MNG-5693
in repository https://gitbox.apache.org/repos/asf/maven-integration-testing.git

commit 8b5dc214aa4691fa678ea04a0c3494b6629f2ebc
Author: Sylwester Lachiewicz <sl...@apache.org>
AuthorDate: Sun Dec 30 11:42:08 2018 +0100

    [MNG-5693] Remove check for link to cwiki
---
 .../org/apache/maven/it/MavenITmng5482AetherNotFoundTest.java | 11 ++++++++++-
 1 file changed, 10 insertions(+), 1 deletion(-)

diff --git a/core-it-suite/src/test/java/org/apache/maven/it/MavenITmng5482AetherNotFoundTest.java b/core-it-suite/src/test/java/org/apache/maven/it/MavenITmng5482AetherNotFoundTest.java
index b7167b4..d0acdaf 100644
--- a/core-it-suite/src/test/java/org/apache/maven/it/MavenITmng5482AetherNotFoundTest.java
+++ b/core-it-suite/src/test/java/org/apache/maven/it/MavenITmng5482AetherNotFoundTest.java
@@ -90,7 +90,16 @@ public class MavenITmng5482AetherNotFoundTest
         assertTrue( "ClassNotFoundException message was not found in output.", msg >= 0 );
 
         int url = indexOf( lines, ".*http://cwiki.apache.org/confluence/display/MAVEN/AetherClassNotFound.*" );
-        assertTrue( "Url to ClassNotFoundAether was not found in output.", url >= 0 );
+
+        boolean versionWithMng5693 = matchesVersionRange( "[3.6.1,)"); // no more link to cwiki
+        if ( versionWithMng5693 )
+        {
+            assertFalse( "Url to ClassNotFoundAether was found in output.", url >= 0 );
+        }
+        else
+        {
+            assertTrue( "Url to ClassNotFoundAether was not found in output.", url >= 0 );
+        }
     }
 
     private int indexOf( List<String> logLines, String regex )