Maven resource filtering doesn't write output to "WEB-INF" inside my war
Issue
- I have maven resource filtering activated in the
pom.xml
, following page Apache Maven Resources Plugin > Filtering, but when I run the build, variable substitutions happen as they should but the output files are written toWEB-INF/classes
. The un-filtered source configuration files are copied toWEB-INF
and loaded eventually. - In
maven-resource-plugin
(mvn resources:resources
andresources-copy-resources
), how to set up the output path correctly in thepom.xml
? - How to do maven filtering into
WEB-INF
rather than intoWEB-INF/classes
in a war project ?
Environment
- Apache Maven
- 3.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.