You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Michael Osipov (JIRA)" <ji...@apache.org> on 2018/06/15 23:18:00 UTC
[jira] [Created] (MNG-6428) IT for MNG-5958 fails on Java 9+
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)