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

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • 3.6.3
    • 3.8.2, 4.0.0-alpha-2, 4.0.0
    • Command Line
    • None
    • Windows 10
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: