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

Prevent printing the EXEC_DIR when it's just a disk letter

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: 3.6.3
    • Fix Version/s: 3.8.2, 4.0.0, 4.0.0-alpha-1
    • Component/s: Command Line
    • Labels:
      None
    • Environment:
      Windows 10
    • Flags:
      Patch

      Description

      When you're on the root of some disk running mvn.cmd prints an extra line with current dir before the correct output.
      For example:

      D:>mvn -version
      D:
      Apache Maven 3.6.3 (cecedd3)
      Maven home: D:\develop\apache-maven-3.6.3\bin..
      Java version: 11.0.5, vendor: Oracle Corporation, runtime: C:\Program Files\Java\jdk-11.0.5
      Default locale: en_US, platform encoding: Cp1252
      OS name: "windows 10", version: "10.0", arch: "amd64", family: "windows"

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                slachiewicz Sylwester Lachiewicz
                Reporter:
                rosti-il Rostislav Krasny
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: