I have a Maven/Web/Eclipse project running.
When I deploy in Eclipse, the contents of /src/main/resources are not deployed.
Here's my org.eclipse.wst.common.component
file:
<?xml version="1.0" encoding="UTF-8"?>
<project-modules id="moduleCoreId" project-version="1.5.0">
<wb-module deploy-name="Grapevine">
<wb-resource deploy-path="/" source-path="/src/main/webapp"/>
<wb-resource deploy-path="/WEB-INF/classes" source-path="/src/main/resources"/>
<wb-resource deploy-path="/WEB-INF/classes" source-path="/src/main/java"/>
<property name="context-root" value="Grapevine"/>
<property name="java-output-path" value="/Grapevine/target/classes"/>
</wb-module>
</project-modules>
Note - if I do mvn install
the war is built correctly, including the resources files.
I'm using:
- m2e 0.10.2.20100623-1649
- Eclipse 3.5 (20090621-0832)
- WTP 3.1.1
What am I missing?