Cannot filter system properties in 2.0.4 ----------------------------------------
Key: MNG-2688 URL: http://jira.codehaus.org/browse/MNG-2688 Project: Maven 2 Issue Type: Bug Components: Bootstrap & Build Affects Versions: 2.0.4 Environment: Windows XP, sp2 Reporter: Chad Ellison I would like to filter a system property, so that a property within my application.properties files is replaced at runtime. The instructions at http://maven.apache.org/guides/getting-started/index.html#How%20do%20I%20filter%20resource%20files? are not working. Specifically, in my application.propertiies file I have a variable defined "command.line.prop=${command.line.prop}" and then when I run... mvn process-resources "-Dcommand.line.prop=hello again" ... I would expect the property to be replaced by "hello again", but it is not. It is worth noting that Java variables like ${java.version} are also not 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