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

James Vaudry updated MSHARED-292:
---------------------------------

    Description: 
I configured the <escapeString>\</escapeString>

Input:
{noformat}
test1=\${foo}
test2=\${user.home}
{noformat}
Expected filtered result:
{noformat}
test1=${foo}
test2=${user.home}
{noformat}
Actual filtered result:
{noformat}
test1=${foo}
test2=\/home/username
{noformat}
>From my testing, it seems any Java System Property (user.home, java.home, 
>etc...) does not work with Maven escape filtering. Other variables like foo 
>work just fine.


  was:
I configured the <escapeString>\</escapeString>
Input:
    test1=\${foo}
    test2=\${user.home}

Expected filtered result:
    test1=${foo}
    test2=${user.home}

Actual filtered result:
    test1=${foo}
    test2=\/home/username

>From my testing, it seems any Java System Property (user.home, java.home, 
>etc...) does not work with Maven escape filtering. Other variables like ${foo} 
>work just fine.


    
> Escape filtering of Java System Property variables does not work
> ----------------------------------------------------------------
>
>                 Key: MSHARED-292
>                 URL: https://jira.codehaus.org/browse/MSHARED-292
>             Project: Maven Shared Components
>          Issue Type: Bug
>         Environment: Maven 3.0.4
> maven-war-plugin:2.4
>            Reporter: James Vaudry
>
> I configured the <escapeString>\</escapeString>
> Input:
> {noformat}
> test1=\${foo}
> test2=\${user.home}
> {noformat}
> Expected filtered result:
> {noformat}
> test1=${foo}
> test2=${user.home}
> {noformat}
> Actual filtered result:
> {noformat}
> test1=${foo}
> test2=\/home/username
> {noformat}
> From my testing, it seems any Java System Property (user.home, java.home, 
> etc...) does not work with Maven escape filtering. Other variables like foo 
> work just fine.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to