ertnutler wrote: > > strange. i got it to work by changing the resource directory from > ${basedir}/src/main/webapp/WEB-INF to ${basedir}/src/main/webapp. i can't > explain why it doesn't work for WEB-INF... > Good day to you, ertnutler, If it works with a property file, then that's most likely the bug i mentioned before ([1]). I made a patch in [1] so that you can use the properties in your poms without having to specify a property file ^_^ Try it if it works ^_^ Regarding the ${basedir}/src/main/webapp only, and ${basedir}/src/main/webapp/WEB-INF dirs, I guess maybe because filtering for the former is done by maven-resource-plugin, and not by maven-war-plugin...not sure about this though. Cheers, Franz [1] http://jira.codehaus.org/browse/MWAR-67 -- View this message in context: http://www.nabble.com/filtering-web.xml-with-profile-properties-tf2272626.html#a6356093 Sent from the Maven - Users forum at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]