title: Maven Project Builder is invoked every time I change a source file (GWT)
body: <p>Recently I converted my GWT web-app (<strong>GWT 2.4.0</strong>) to a maven project.<br>
  I am using maven 2.2.1, <a href="http://mojo.codehaus.org/gwt-maven-plugin/">gwt-maven plugin</a> (2.4.0), Eclipse Indigo (3.7) and the m2eclipse plugin. </p>
  
  <p>The dependencies and general configuration seem to be fine as the web-app compiles without any problems and also works in production mode.<br>
  The same applies to hosted mode. </p>
  
  <p>However I have a strange behavior: When I change a single line in a Java/GWT source file, the <code>Maven Project Builder</code> is invoked and this steps takes painfully long (around 10 secs) and eclipse sometimes becomes unusable during this time.   </p>
  
  <p><strong>Is this a normal behavior of m2eclipse?</strong></p>
  
  <p><strong>And if it is, is there any way to speed it up?</strong></p>
  
  <p>Note: I had to configure the life cycle plugin for m2eclipse. Here is the important section of the pom file:</p>
  
  <pre><code>&lt;build&gt;
          &lt;!-- Generate compiled stuff in the folder used for developing mode --&gt;
          &lt;outputDirectory&gt;${webappDirectory}/WEB-INF/classes&lt;/outputDirectory&gt;
  
          &lt;plugins&gt;
  
              &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.4.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;/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;index.html&lt;/runTarget&gt;
                      &lt;hostedWebapp&gt;${webappDirectory}&lt;/hostedWebapp&gt;
                      &lt;i18nMessagesBundle&gt;com.gmi.nordborglab.testapp.client.Messages&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;/plugins&gt;
  
          &lt;pluginManagement&gt;
              &lt;plugins&gt;
                  &lt;plugin&gt;
                      &lt;groupId&gt;org.eclipse.m2e&lt;/groupId&gt;
                      &lt;artifactId&gt;lifecycle-mapping&lt;/artifactId&gt;
                      &lt;version&gt;1.0.0&lt;/version&gt;
                      &lt;configuration&gt;
                          &lt;lifecycleMappingMetadata&gt;
                              &lt;pluginExecutions&gt;
                                  &lt;pluginExecution&gt;
                                      &lt;pluginExecutionFilter&gt;
                                          &lt;groupId&gt;org.codehaus.mojo&lt;/groupId&gt;
                                          &lt;artifactId&gt;gwt-maven-plugin&lt;/artifactId&gt;
                                          &lt;versionRange&gt;[2.4.0,)&lt;/versionRange&gt;
                                          &lt;goals&gt;
                                              &lt;goal&gt;resources&lt;/goal&gt;
                                              &lt;goal&gt;compile&lt;/goal&gt;
                                          &lt;/goals&gt;
                                      &lt;/pluginExecutionFilter&gt;
                                      &lt;action&gt;
                                          &lt;execute /&gt;
                                      &lt;/action&gt;
                                  &lt;/pluginExecution&gt;
                                  &lt;pluginExecution&gt;
                                      &lt;pluginExecutionFilter&gt;
                                          &lt;groupId&gt;org.apache.maven.plugins&lt;/groupId&gt;
                                          &lt;artifactId&gt;maven-war-plugin&lt;/artifactId&gt;
                                          &lt;versionRange&gt;[2.1.1,)&lt;/versionRange&gt;
                                          &lt;goals&gt;
                                              &lt;goal&gt;exploded&lt;/goal&gt;
                                          &lt;/goals&gt;
                                      &lt;/pluginExecutionFilter&gt;
                                      &lt;action&gt;
                                          &lt;execute /&gt;
                                      &lt;/action&gt;
                                  &lt;/pluginExecution&gt;
  
                              &lt;/pluginExecutions&gt;
                          &lt;/lifecycleMappingMetadata&gt;
                      &lt;/configuration&gt;
                  &lt;/plugin&gt;
              &lt;/plugins&gt;
          &lt;/pluginManagement&gt;
  
      &lt;/build&gt;
  </code></pre>