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-INFand loaded eventually. - In
maven-resource-plugin(mvn resources:resourcesandresources-copy-resources), how to set up the output path correctly in thepom.xml? - How to do maven filtering into
WEB-INFrather than intoWEB-INF/classesin a war project ?
Environment
- Apache Maven
- 3.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
