mirror of https://github.com/apache/maven.git
[MNG-6428] IT for MNG-5958 fails on Java 9+
This commit is contained in:
parent
e3b61872fa
commit
f715b10806
|
@ -37,8 +37,10 @@ public class MavenITmng5958LifecyclePhaseBinaryCompat
|
|||
}
|
||||
catch ( VerificationException e )
|
||||
{
|
||||
// TODO There is no good way to test for Java 9+ in Verifier in order to add 'java.base/'
|
||||
// to the string.
|
||||
verifier.verifyTextInLog( "[ERROR] Internal error: java.lang.ClassCastException: "
|
||||
+ "org.apache.maven.lifecycle.mapping.LifecyclePhase cannot be cast to java.lang.String -> [Help 1]" );
|
||||
+ "org.apache.maven.lifecycle.mapping.LifecyclePhase cannot be cast to " );
|
||||
}
|
||||
verifier.resetStreams();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue