title: Why am I receiving a "Plugin execution not covered by lifecycle configuration with GWT" error?
body: <p>I'm using STS and I imported a GWT project from another machine. The project uses m2eclipse. I'm getting these two errors when building the project:</p>
  
  <pre><code>Plugin execution not covered by lifecycle configuration: org.codehaus.mojo:gwt-maven-plugin:2.2.0:i18n (execution: default, phase: generate-sources)    pom.xml /contactsgwt    line 175
  Plugin execution not covered by lifecycle configuration: org.apache.maven.plugins:maven-war-plugin:2.1.1:exploded (execution: default, phase: compile)  pom.xml /contactsgwt    line 198
  </code></pre>
  
  <p>What's wrong? Is there any further configuration that needs to be done so the <code>gwt maven plugin</code> works?</p>
  
  <p>The <code>pom.xml</code> code causing the error: </p>
  
  
  
  <pre class="lang-xml prettyprint-override"><code>&lt;!-- GWT Maven Plugin --&gt;
  &lt;plugin&gt;
      &lt;groupId&gt;org.codehaus.mojo&lt;/groupId&gt;
      &lt;artifactId&gt;gwt-maven-plugin&lt;/artifactId&gt;
      &lt;version&gt;2.2.0&lt;/version&gt;
      &lt;executions&gt;
          &lt;execution&gt;
              &lt;goals&gt;
                  &lt;goal&gt;compile&lt;/goal&gt;
                  &lt;goal&gt;test&lt;/goal&gt;
                  &lt;goal&gt;i18n&lt;/goal&gt;
              &lt;/goals&gt;
          &lt;/execution&gt;
      &lt;/executions&gt;
      &lt;!-- Plugin configuration. There are many available options, see gwt-maven-plugin documentation at codehaus.org --&gt;
      &lt;configuration&gt;
          &lt;runTarget&gt;Contacts.html&lt;/runTarget&gt;
          &lt;hostedWebapp&gt;${webappDirectory}&lt;/hostedWebapp
          &lt;i18nMessagesBundle&gt;es.indra.gwt.contactsgwt.client.ContactsMessages&lt;/i18nMessagesBundle&gt;
      &lt;/configuration&gt;
  &lt;/plugin&gt;
  
  &lt;!-- Copy static web files before executing gwt:run --&gt;
  &lt;plugin&gt;
      &lt;groupId&gt;org.apache.maven.plugins&lt;/groupId&gt;
      &lt;artifactId&gt;maven-war-plugin&lt;/artifactId&gt;
      &lt;version&gt;2.1.1&lt;/version&gt;
      &lt;executions&gt;
          &lt;execution&gt;
              &lt;phase&gt;compile&lt;/phase&gt;
              &lt;goals&gt;
                  &lt;goal&gt;exploded&lt;/goal&gt;
              &lt;/goals&gt;
          &lt;/execution&gt;
      &lt;/executions&gt;
      &lt;configuration&gt;
          &lt;webappDirectory&gt;${webappDirectory}&lt;/webappDirectory&gt;
      &lt;/configuration&gt;
  &lt;/plugin&gt;
  
  &lt;plugin&gt;
      &lt;groupId&gt;org.maven.ide.eclipse&lt;/groupId&gt;
      &lt;artifactId&gt;lifecycle-mapping&lt;/artifactId&gt;
      &lt;version&gt;0.9.9-SNAPSHOT&lt;/version&gt;
      &lt;configuration&gt;
          &lt;mappingId&gt;generic&lt;/mappingId&gt;
          &lt;configurators&gt;&lt;/configurators&gt;
          &lt;mojoExecutions&gt;
              &lt;mojoExecution runOnIncremental="true"&gt;org.codehaus.mojo:gwt-maven-plugin:2.2.0:i18n&lt;/mojoExecution&gt;
              &lt;mojoExecution runOnIncremental="true"&gt;org.apache.maven.plugins:maven-resources-plugin:2.4.1:resources&lt;/mojoExecution&gt;
              &lt;mojoExecution runOnIncremental="false"&gt;org.apache.maven.plugins:maven-compiler-plugin:2.0.2:compile&lt;/mojoExecution&gt;
              &lt;mojoExecution runOnIncremental="false"&gt;org.apache.maven.plugins:maven-war-plugin:2.1.1:exploded&lt;/mojoExecution&gt;
              &lt;mojoExecution runOnIncremental="false"&gt;org.apache.maven.plugins:maven-resources-plugin:2.4.1:testResources&lt;/mojoExecution&gt;
          &lt;/mojoExecutions&gt;
      &lt;/configuration&gt;
  &lt;/plugin&gt;
  </code></pre>