jira-importer commented on issue #104: URL: https://github.com/apache/maven-war-plugin/issues/104#issuecomment-2967842671
**[Adrian Gonzalez](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=gonzalad)** commented Same thing here, this correction would be usefull even in 2013 : * Eclipse m2e-wtp doesn't handle packagingExcludes with regex (as adviced by maven skinny wars instructions http://maven.apache.org/plugins/maven-war-plugin/examples/including-excluding-files-from-war.html). * for pure Java EE 6 applicatins : Java EE 6 doesn't say anything on CDI classloading rules for EAR. For some appServers - i.e. JBoss 7.1, we need to package any archive containing CDI beans in EAR, never in war file otherwise we'll get AmiguousException when using n wars. So we'll need to : * package CDI bean archives in EAR. * JSF related archives in WARs (otherwise faces-config.xml are not loaded). So we're stuck with using scope provided in war pom.xml for now if we want to use Eclipse and JBoss 7.1 with a Java EE 6 EAR. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: issues-unsubscr...@maven.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org