Uploaded image for project: 'Maven Resources Plugin'
  1. Maven Resources Plugin
  2. MRESOURCES-42

Filtering properties that contain ${basedir} for property files doesn't escape backslashes

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.2, 2.3
    • 2.3
    • None
    • None
    • OS: Windows XP; Maven: 2.0.5, 2.0.6;

    Description

      For exemple consider this in a filtered property files

      application.propertyOne=${pom.build.directory}
      application.propertyTwo=${basedir}

      which generates after filtering:
      application.propertyOne=D\:\\ProjectsDirectory\\project
      target
      application.propertyTwo=D:\ProjectsDirectory\project\

      Behavior are different and causes a second property bad value when reading the properties file.

      Attachments

        Issue Links

          Activity

            People

              olamy Olivier Lamy
              jsoula julien soula
              Votes:
              2 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: