[Created] (MNG-6850) Prevent printing the EXEC_DIR when it's just a disk letter

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[Created] (MNG-6850) Prevent printing the EXEC_DIR when it's just a disk letter

Sylwester Lachiewicz (Jira)
Rostislav Krasny created MNG-6850:
-------------------------------------

             Summary: Prevent printing the EXEC_DIR when it's just a disk letter
                 Key: MNG-6850
                 URL: https://issues.apache.org/jira/browse/MNG-6850
             Project: Maven
          Issue Type: Bug
          Components: Command Line
    Affects Versions: 3.6.3
         Environment: Windows 10
            Reporter: Rostislav Krasny


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"



--
This message was sent by Atlassian Jira
(v8.3.4#803005)