title: maven - need to create ear bundle
body: <p>I have a maven project which currently creates a <code>war package</code> on build. Now I need to bundle it as an <code>ear project</code>. Any pointers on how to do this. I added the <code>m2e plugin</code> and modified the <code>pom.xml</code> file, but, i am not able to get the directory structure as expected. I need the <code>dir structure</code> as below</p>
  
  <pre><code>project-name
    - project-name.ear
    - pom.xml
    - project-name.war
    - projec-name.jar
    - META-INF/application.xml
  </code></pre>
  
  <p>Thanks.</p>