I am trying to add some filtering to the application context file, which resides in the WEB-INF directory.
I have the file which is to be filtered (xmlgateway-context.
Put the file xmlgateway-context.xml in src/main/webapp/WEB-INF and configure like this:
src/main/filters/config-${targetenv}.properties true src/main/webapp/WEB-INF