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

Filtering with POM.xml elements

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 2.3
    • None
    • None

    Description

      I have this weird error where if I have a project like the one attached. It appears that when filtering is set to true and you have an file that has a reference to a 'name' value, like so:

      <html>
      <head>
          <title>${something.name}</title>
      </head>
      </html>
      

      The pom.xml name element will be used when filtering this file.

      So if your pom.xml is written like so:

      <project>
         <name>Look at Me!</name> 
      </project>
      

      This name value will be used to do filtering if turned on.

      Granted you would want to set up your project like this, but this is not expected behavior, right?

      Attachments

        1. maven-bug.tar.gz
          1 kB
          Zach Legein

        Issue Links

          Activity

            People

              olamy Olivier Lamy
              zlegein Zach Legein
              Votes:
              6 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: