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

[regression] Filtering doesn't work if a lone @ is found in a line to interpolate

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.4
    • 2.5
    • filtering
    • None

    Description

      If you try to filter a file containing say :

      ${project.artifactId} @ ${project.version}

      It'll be rendered as 'foo @ ${project.version}', when you expect 'foo @ 1.0.0'

      This used to work in maven-war-plugin <= 2.3, so I suspect this is caused by the upgrade to maven-filtering:1.1.

      Note that this bug has affected filtering using maven-resource-plugin for quite some time now, so the root cause is definitely somewhere in the filtering component. Opening the bug here to keep track of the regression in m-w-p

      Attachments

        1. web-filtering.zip
          1 kB
          Fred Bricon

        Issue Links

          Activity

            People

              khmarbaise Karl Heinz Marbaise
              fbricon Fred Bricon
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: