> Okay, I corrected source and target jdk in pom.xml and got it to deploy correctly, but although all files are now in an exploded directory below default/deploy, I get an http 404 error if I access the URL.
> The jboss console confirmed the deployment. No error message is shown.
Could you please attach a test project ?
> BTW, I am new to Maven and don't understand why it created two directories (...-SNAPSHOT and src/main/webapp) ...
You can remove the line
<wb-resource deploy-path="/" source-path="/smsurbano-1.0-SNAPSHOT"/>
from the .settings/org.eclipse.wst.common.component file.
If the line is created again when calling Maven>Update Project Configuration, there is a problem in m2eclipse.
Will try to help more if you send me the test project.