You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Brett Porter (JIRA)" <ji...@codehaus.org> on 2008/06/13 04:13:13 UTC

[jira] Moved: (MRESOURCES-69) Filtering with POM.xml elements

     [ http://jira.codehaus.org/browse/MRESOURCES-69?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Brett Porter moved MNG-3359 to MRESOURCES-69:
---------------------------------------------

    Affects Version/s:     (was: 2.0.8)
          Component/s:     (was: POM)
                  Key: MRESOURCES-69  (was: MNG-3359)
              Project: Maven 2.x Resources Plugin  (was: Maven 2)

> Filtering with POM.xml elements
> -------------------------------
>
>                 Key: MRESOURCES-69
>                 URL: http://jira.codehaus.org/browse/MRESOURCES-69
>             Project: Maven 2.x Resources Plugin
>          Issue Type: Bug
>            Reporter: Zach Legein
>         Attachments: maven-bug.tar.gz
>
>
> 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:
> {code:xml}
> <html>
> <head>
>     <title>${something.name}</title>
> </head>
> </html>
> {code}
> The pom.xml _name_ element will be used when filtering this file.
> So if your pom.xml is written like so:
> {code:xml}
> <project>
>    <name>Look at Me!</name> 
> </project>
> {code}
> 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?

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira