Uploaded image for project: 'Maven WAR Plugin'
  1. Maven WAR Plugin
  2. MWAR-43

Web resource filtering does not expand variables

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Duplicate
    • 2.0
    • None
    • None
    • None
    • Windows XP, Cygwin

    Description

      Variables contained within filter values are not expanded for web resource filtering as they are for normal resource filtering.

      mvn package attached project:

      Expected:

      • target/WEB-INF/classes/resource.txt == Test
      • target/web-resource.txt == Test

      Actual:

      • target/WEB-INF/classes/resource.txt == Test
      • target/web-resource.txt == ${project.name}

      Attachments

        1. test.zip
          2 kB
          Mark Hobson

        Issue Links

          Activity

            People

              brett Brett Porter
              markh Mark Hobson
              Votes:
              2 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: