You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by sc...@apache.org on 2016/02/22 22:25:09 UTC

maven-integration-testing git commit: [MNG-2199] Support version ranges in parent elements

Repository: maven-integration-testing
Updated Branches:
  refs/heads/master d5eb89efc -> 0fa30cec0


[MNG-2199] Support version ranges in parent elements

o Updated to account for updated error messages.


Project: http://git-wip-us.apache.org/repos/asf/maven-integration-testing/repo
Commit: http://git-wip-us.apache.org/repos/asf/maven-integration-testing/commit/0fa30cec
Tree: http://git-wip-us.apache.org/repos/asf/maven-integration-testing/tree/0fa30cec
Diff: http://git-wip-us.apache.org/repos/asf/maven-integration-testing/diff/0fa30cec

Branch: refs/heads/master
Commit: 0fa30cec0400a1175051348b4e4c83ba24bb6b2f
Parents: d5eb89e
Author: Christian Schulte <sc...@apache.org>
Authored: Mon Feb 22 22:07:10 2016 +0100
Committer: Christian Schulte <sc...@apache.org>
Committed: Mon Feb 22 22:10:15 2016 +0100

----------------------------------------------------------------------
 .../apache/maven/it/MavenITmng2199ParentVersionRangeTest.java    | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/maven-integration-testing/blob/0fa30cec/core-it-suite/src/test/java/org/apache/maven/it/MavenITmng2199ParentVersionRangeTest.java
----------------------------------------------------------------------
diff --git a/core-it-suite/src/test/java/org/apache/maven/it/MavenITmng2199ParentVersionRangeTest.java b/core-it-suite/src/test/java/org/apache/maven/it/MavenITmng2199ParentVersionRangeTest.java
index b4d7a89..7d77cb7 100644
--- a/core-it-suite/src/test/java/org/apache/maven/it/MavenITmng2199ParentVersionRangeTest.java
+++ b/core-it-suite/src/test/java/org/apache/maven/it/MavenITmng2199ParentVersionRangeTest.java
@@ -130,7 +130,7 @@ public class MavenITmng2199ParentVersionRangeTest
             final List<String> lines = verifier.loadFile( new File( testDir, "log.txt" ), false );
             int msg =
                 indexOf( lines,
-                         ".*Version must be a constant @ org.apache.maven.its.mng2199:expression:\\$\\{project.parent.version\\}.*" );
+                         ".*Version must be a constant.*org.apache.maven.its.mng2199:expression.*" );
 
             assertTrue( "Expected error message not found.", msg >= 0 );
         }
@@ -160,7 +160,7 @@ public class MavenITmng2199ParentVersionRangeTest
             final List<String> lines = verifier.loadFile( new File( testDir, "log.txt" ), false );
             int msg =
                 indexOf( lines,
-                         ".*Version must be a constant @ org.apache.maven.its.mng2199:inherited:\\[unknown-version\\].*" );
+                         ".*Version must be a constant.*org.apache.maven.its.mng2199:inherited.*" );
 
             assertTrue( "Expected error message not found.", msg >= 0 );
         }