title: Create complete EAR Project with Maven and Eclipse Helios
body: <p>I read some articles about how to set up eclipse and maven to create a new empty ear project but all solutions weren't complete or are to old.</p>
  
  <p>I believe that I need to create three pom.xml files / or three projects:</p>
  
  <ol>
  <li>client project with the WEB-APP structure (like a regular dynamic web project). 
  This should result in a WAR file.</li>
  <li>server project with the ejbs. This should be a JAR file.</li>
  <li>ear project which joins both projects together.</li>
  </ol>
  
  <p>I tried that with help of the integrated maven plugin in eclipse. Since (I believe Helios) maven is already integrated in eclipse. So I go to</p>
  
  <p>file -> new -> maven -> maven project</p>
  
  <p>and leave the "create a simple project" checkbox unchecked. On the next side I got the archetype catalog. To create the client project I looked for maven-archetype-webapp Version 1.0.
  But all the folders like WebContent\META-INF etc. are missing. </p>
  
  <p>So how can I create all three projects are build them together?</p>
  
  <p>Thanks a lot,
  Hauke</p>
  
  <p>PS.: I read in question 5668710 about creating the project without maven and activate the dependency management. But is that the right way? I don't think so.</p>