jboss-javaee6-webapp-archetype has a dependency on hibernate-jpamodelgen but jboss-javaee6-webapp-ear-archetype doesn't.
So when m2e-apt is installed we have target/generated-sources/foo/bar/Member_.java file generated on the web project, but not for the multimodule projet.
The behaviour should be consistent for both archetypes.
If annotation processing was to be disabled, you should then remove the ..factorypath config files
jboss-javaee6-webapp-archetypehas a dependency onhibernate-jpamodelgenbutjboss-javaee6-webapp-ear-archetypedoesn't.So when m2e-apt is installed we have
target/generated-sources/foo/bar/Member_.javafile generated on the web project, but not for the multimodule projet.The behaviour should be consistent for both archetypes.
If annotation processing was to be disabled, you should then remove the .
.factorypathconfig files