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

    Reporter: Kenney Westerhof


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

Reply via email to