maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kenney Westerhof (JIRA)" <j...@codehaus.org>
Subject [jira] Updated: (MRESOURCES-18) System properties and cmdline params not filtered without filter file
Date Sun, 30 Apr 2006 22:04:18 GMT
     [ http://jira.codehaus.org/browse/MRESOURCES-18?page=all ]

Kenney Westerhof updated MRESOURCES-18:
---------------------------------------

        Version: 2.2
                 2.1
    Fix Version: 2.2

This bug exists in 2.1 and 2.2-20060403.015736-1. However, the latest version in svn
does not contain this bug.


> System properties and cmdline params not filtered without filter file
> ---------------------------------------------------------------------
>
>          Key: MRESOURCES-18
>          URL: http://jira.codehaus.org/browse/MRESOURCES-18
>      Project: Maven 2.x Resources Plugin
>         Type: Bug

>     Versions: 2.2, 2.1
>     Reporter: Kenney Westerhof
>      Fix For: 2.2

>
>
> If you have a src/main/resources/test.properties with the following content:
> param=${param}
> userhome=${user.home}
> and you define a resources section with filtering enabled for this, then running
> mvn process-resources -Dparam=PARAM
> yields a target/classes/test.properties where the properties are not filtered (i.e. the
file is unchanged).
> When you define a <filters><filter>emptyfile</... and create 'emptyfile'
with no content,
> the resource is properly filtered.

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