I created a new Maven project and selected the archetype org.codehaus.mojo.arhcetypes ear-javaee6. When I try to add a Java class to the project, I get "The source folder is not a Java project."
Therefore, we should not add Java classes to exit .ear files. What do these guys think when they create a project for .ear but donโt allow Java classes?
What archetype should I use to create Java EE 6..ear files?
source share