Hi Fred,
What is the expected m2e-wtp behavior when a file of the same name exists in both src/main/resources and src/test/resources - which of the two files should exist in tmp0\wtpwebapps\(app-name)\WEB-INF\classes?
What I'm seeing is even when the src/test/resources file is in target/m2e-wtp/web-resources/WEB-INF/classes, usually the src/main/resources one is in the deployment (tmp0\wtpwebapps\(app-name)\WEB-INF\classes) dir. I have not yet determined the super-secret sequence that chooses the test one! ;-)
Here are other behaviors I consistently see with this configuration:
1. m2e-wtp isn't copying the configured files with Eclipse build to target/m2e-wtp/web-resources/WEB-INF/classes after editing and saving. To get it to (usually) copy them again, I have to exit Eclipse, mvn clean install, then launch Eclipse.
2. Sometimes target/m2e-wtp/web-resources/WEB-INF/classes is empty; sometimes target/m2e-wtp/web-resources/WEB-INF does not exist. This seems to only happen with an Eclipse clean build.
I'm wondering if you have any thoughts or advice?