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

MINGW support requires --add-opens java.base/java.lang=ALL-UNNAMED

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 3.9.7, 3.9.8
    • 3.9.10
    • Core
    • None
    • Patch, Important

    Description

      Running any Maven command on MINGW64 terminal of Git for Windows and probably in several other UNIX-mimicking environments prints out the "MINGW support requires --add-opens java.base/java.lang=ALL-UNNAMED" error message (can be printed several times during one Maven command) and can't get the right width of the terminal.

      This bug came from the Jansi dependency after it was upgraded from 2.4.0 to 2.4.1 version. For more information please see my bug report and my pull request in the Jansi project's GitHub:

      https://github.com/fusesource/jansi/issues/290

      https://github.com/fusesource/jansi/pull/291

      Since many developers use Maven on Windows together with Git for Windows and on its Git Bash environment based on MINGW this bug is important, in my opinion.

      Attachments

        Activity

          People

            Unassigned Unassigned
            rosti-il Rostislav Krasny
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: