maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Olivier Lamy (JIRA)" <j...@codehaus.org>
Subject [jira] Updated: (MSHARED-81) change in @ translation behavior in maven-resources-plugin 2.3
Date Fri, 14 Nov 2008 20:11:13 GMT

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

Olivier Lamy updated MSHARED-81:
--------------------------------

         Assignee: Olivier Lamy
    Fix Version/s: maven-filtering-1.0

> change in @ translation behavior in maven-resources-plugin 2.3
> --------------------------------------------------------------
>
>                 Key: MSHARED-81
>                 URL: http://jira.codehaus.org/browse/MSHARED-81
>             Project: Maven Shared Components
>          Issue Type: Bug
>          Components: maven-filtering
>    Affects Versions: maven-filtering-1.0-beta-2
>         Environment: Mac OS X 10.5, maven 2.0.6 + 2.0.9 (no change), java version "1.5.0_16"
>            Reporter: Benjamin Reed
>            Assignee: Olivier Lamy
>             Fix For: maven-filtering-1.0
>
>         Attachments: resources-test.tar.bz2
>
>
> OpenNMS uses a mixture of ${} and @@ in it's build system for various reasons in filtered
properties.  The maven resources plugin used to filter both ${} and @@ style properties, but
it no longer does so, and as far as I can tell, this change was not documented in the resources
plugin documentation.  (resources plugin 2.2 uses filtering 1.0-beta-1, and 2.3 uses 1.0-beta-2
AFAIK)
> Attached is a simple example that exposes the difference.
> If you make the pom.xml use maven-resources-plugin 2.2, the "bar" variable in src/main/filtered/filtered.properties
gets converted to "this is bar"
> If you make the pom.xml use maven-resources-plugin 2.3, the "bar" variable is no longer
interpolated

-- 
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

        

Mime
View raw message