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:41:00 UTC

[jira] [Closed] (MNG-6428) IT for MNG-5958 fails on Java 9+

     [ https://issues.apache.org/jira/browse/MNG-6428?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Michael Osipov closed MNG-6428.
-------------------------------
    Resolution: Fixed

Fixed with [b7f0bca65ce458d70daa16d00f249cb49ba688c6|https://gitbox.apache.org/repos/asf?p=maven-integration-testing.git;a=commit;h=b7f0bca65ce458d70daa16d00f249cb49ba688c6].

> 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
>            Priority: Major
>
> 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)