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

[jira] Moved: (MRESOURCES-78) change in @ translation behavior in maven-resources-plugin 2.3

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

Olivier Lamy moved MSHARED-82 to MRESOURCES-78:
-----------------------------------------------

    Affects Version/s:     (was: maven-filtering-1.0-beta-2)
                       2.3
        Fix Version/s:     (was: maven-filtering-1.0)
                       2.4
          Component/s:     (was: maven-filtering)
                  Key: MRESOURCES-78  (was: MSHARED-82)
              Project: Maven 2.x Resources Plugin  (was: Maven Shared Components)

> change in @ translation behavior in maven-resources-plugin 2.3
> --------------------------------------------------------------
>
>                 Key: MRESOURCES-78
>                 URL: http://jira.codehaus.org/browse/MRESOURCES-78
>             Project: Maven 2.x Resources Plugin
>          Issue Type: Bug
>    Affects Versions: 2.3
>         Environment: Mac OS X 10.5, maven 2.0.6 + 2.0.9 (no change), java version "1.5.0_16"
>            Reporter: Olivier Lamy
>            Assignee: Olivier Lamy
>             Fix For: 2.4
>
>
> 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