<resource>
<directory>src/main/webapp/WEB-INF</directory>
<filtering>true</filtering>
<includes>
<include>web.xml</include>
</includes>
</resource>
<resource>
<directory>src/main/webapp/WEB-INF</directory>
<filtering>false</filtering>
<excludes>
<exclude>web.xml</exclude>
</excludes>
</resource>
I removed it,turned on filteringDeploymentDescriptors and moved the resources over to src/main/resources which got rid of almost all of the issues.Now the webapp is being correctly deployed to my tomcat server and m2e-wtp is copying everything except the workspace resolved dependencies to org.eclipse.wst.server.core\tmp0\wtpwebapps. Is m2e supposed to copy target/classes of each workspace resolved dependency to mywebappname\WEB-INF\classes ? The dependency project doesn't show up in the deployment assembly(is it supposed to show up there?) but it shows up correctly in the Libraries tab. Is it like the dependency project's classes will be copied over or will they just be added to the classpath?
Thanks,
Aneesh