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

Cannot escape String in a filter value

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.3, 2.4, 2.4.1, 2.4.2, 2.4.3
    • None
    • escape string
    • None

    Description

      I have to filter a file. The value to inject to the file is foo/${name}. Thus in my resource I have @something@ and in my filter I would like to have something=foo/${name}
      I tried to use the escapeString option () and added in my filter I used : something=foo/\${name}
      I tested with various syntaxes and escape characters but it doesn't work.
      escapeString can be used to protect special characters in resources but not in filters. In filters properties are always resolved.

      Attachments

        1. MRESOURCES-126-IT.patch
          2 kB
          Arnaud Heritier

        Activity

          People

            khmarbaise Karl Heinz Marbaise
            aheritier Arnaud Heritier
            Votes:
            3 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: