title: Plugin execution not covered by lifecycle configuration (JBossas 7 EAR archetype)
body: <p>I am using Eclipse 3.7 Indigo with Maven M2E Plugin 1.0.100.</p>
  
  <p>Using the JBoss 7.x JavaEE 6 EAR archetype, the pom for EAR is giving me this error:</p>
  
  <blockquote>
    <p>Plugin execution not covered by lifecycle configuration:
    org.apache.maven.plugins:maven-ear-plugin:2.6:generate-application-xml
    (execution: default-generate-application-xml, phase:
    generate-resources)</p>
  </blockquote>
  
  <pre class="lang-xml prettyprint-override"><code>&lt;plugin&gt;
     &lt;groupId&gt;org.apache.maven.plugins&lt;/groupId&gt;
     &lt;artifactId&gt;maven-ear-plugin&lt;/artifactId&gt;
     &lt;version&gt;2.6&lt;/version&gt;
     &lt;configuration&gt;
        &lt;!-- Tell Maven we are using Java EE 6 --&gt;
        &lt;version&gt;6&lt;/version&gt;
        &lt;!-- Use Java EE ear libraries as needed. Java EE ear libraries 
                    are in easy way to package any libraries needed in the ear, and automatically 
                    have any modules (EJB-JARs and WARs) use them --&gt;
        &lt;defaultLibBundleDir&gt;lib&lt;/defaultLibBundleDir&gt;
        &lt;modules&gt;&lt;/modules&gt;
     &lt;/configuration&gt;
  &lt;plugin&gt;
  </code></pre>