Skip to content

[MNG-6850] Prevent printing the EXEC_DIR when it's just a disk letter #8445

Closed

Description

@jira-importer

Rostislav Krasny opened MNG-6850 and commented

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"


Affects: 3.6.3

Remote Links:

Backported to: 4.0.0-alpha-2, 3.8.2

Activity

  1. jira-importer commented on Jan 14, 2020

    @jira-importer
    Author
  2. jira-importer commented on Jun 26, 2021

    @jira-importer
    Author

    Michael Osipov commented

    Fixed with 42c99b45e45224810ee2f914b238123cbf599a96 for maven-3.8.x branch.

  3. added
    bug
    priority:trivial
    on Jul 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugpriority:trivial

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions