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

[regression] Effective model contains paths with non-normalized file separators

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 3.0-alpha-1
    • 3.0-alpha-2
    • POM
    • None

    Description

      For instance, calling MavenProject.getBuild().getOutputDirectory() returns "M:\mng-4007/target/classes" on Windows, i.e. a path with mixed file separators. This is troublesome for poorly written code that employs simple string comparison to check for path equality.

      Attachments

        Activity

          People

            bentmann Benjamin Bentmann
            bentmann Benjamin Bentmann
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: