[ 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