Michael Osipov created MNG-6428:
-----------------------------------
Summary: IT for MNG-5958 fails on Java 9+
Key: MNG-6428
URL: https://issues.apache.org/jira/browse/MNG-6428
Project: Maven
Issue Type: Bug
Components: Integration Tests
Reporter: Michael Osipov
Assignee: Michael Osipov
The failure lies in the parsing of the error log. It expects:
{noformat}
verifier.verifyTextInLog( "[ERROR] Internal error:
java.lang.ClassCastException: "
+ "org.apache.maven.lifecycle.mapping.LifecyclePhase cannot be
cast to java.lang.String -> [Help 1]" );
{noformat}
while Java 9+ includes the module name:
{noformat}
[ERROR] Internal error: java.lang.ClassCastException:
org.apache.maven.lifecycle.mapping.LifecyclePhase cannot be cast to
java.base/java.lang.String -> [Help 1]
{noformat}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)