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

[jira] Created: (MSHARED-81) change in @ translation behavior in maven-resources-plugin 2.3

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

        

[jira] Updated: (MSHARED-81) change in @ translation behavior in maven-resources-plugin 2.3

Posted by "Olivier Lamy (JIRA)" <ji...@codehaus.org>.
     [ 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

        

[jira] Updated: (MSHARED-81) change in @ translation behavior in maven-resources-plugin 2.3

Posted by "Olivier Lamy (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MSHARED-81?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

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

    Priority: Critical  (was: Major)

The issue is due to the use of escape string which causes an issue.

> 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
>            Priority: Critical
>             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

        

[jira] Closed: (MSHARED-81) change in @ translation behavior in maven-resources-plugin 2.3

Posted by "Olivier Lamy (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MSHARED-81?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Olivier Lamy closed MSHARED-81.
-------------------------------

    Resolution: Fixed

fixed in plexus-interpolation [rev 7840|http://fisheye.codehaus.org/changelog/plexus/plexus-components/trunk/plexus-interpolation?cs=7840]


> 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
>            Priority: Critical
>             Fix For: maven-filtering-1.0-beta-3
>
>         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