Uploaded image for project: 'Maven'
  1. Maven
  2. MNG-6428

IT for MNG-5958 fails on Java 9+

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • None
    • Integration Tests
    • None

    Description

      The failure lies in the parsing of the error log. It expects:

                  verifier.verifyTextInLog( "[ERROR] Internal error: java.lang.ClassCastException: "
                      + "org.apache.maven.lifecycle.mapping.LifecyclePhase cannot be cast to java.lang.String -> [Help 1]" );
      

      while Java 9+ includes the module name:

      [ERROR] Internal error: java.lang.ClassCastException: org.apache.maven.lifecycle.mapping.LifecyclePhase cannot be cast to java.base/java.lang.String -> [Help 1]
      

      Attachments

        Activity

          People

            michael-o Michael Osipov
            michael-o Michael Osipov
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: