mirror of https://github.com/apache/maven.git
Allow the use of non-canonical maven buildnumbers (from git repo clones and/or svn exports).
git-svn-id: https://svn.apache.org/repos/asf/maven/core-integration-testing/trunk@768994 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
b0220b6caf
commit
2846766111
|
@ -60,7 +60,7 @@ public class MavenITmng1830ShowVersionTest
|
|||
verifier.resetStreams();
|
||||
|
||||
String line = (String) verifier.loadFile( verifier.getBasedir(), verifier.getLogFileName(), false ).get( 1 );
|
||||
assertTrue( line, line.matches( "^Apache Maven (.*?) \\(r[0-9]+; .*\\)$" ) );
|
||||
assertTrue( line, line.matches( "^Apache Maven (.*?) \\(r[0-9]+; .*\\)$" ) || line.matches( "^Apache Maven (.*?) \\(rNON-CANONICAL_[-_0-9]+.+?; .*\\)$" ) );
|
||||
|
||||
// check timestamp parses
|
||||
String timestamp = line.substring( line.lastIndexOf( ';' ) + 1, line.length() - 1 ).trim();
|
||||
|
|
Loading…
Reference in New Issue