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

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

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.0-alpha-1
    • Fix Version/s: 3.0-alpha-2
    • Component/s: POM
    • Labels:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: