Maven archtype jboss-javaee6-webapp 1.01.beta1 produces wrong code. As you will see in the screen shot the buildpath settings are not correct. The result of this is that there are compile errors in eclipse but not in the maven build it self. I think this is a bug of m2 plugin or of the jboss tools.
The version i use is m2 plugin : (Sonatype) 0.12.1.2011
Jboss Tools 3.2.0.CR1
I can solve this to change the buildpath ( the easiest to do this to remove src/main/java as source directory and to add this again)
yes, m2eclipse/weld-archetype problem/issue since it decides that **/model/*.java is the only thing to get included.
https://issues.jboss.org/browse/WELD-835 is related.