title: How to update gwt-maven-plugin Archetype?
body: <p>I would like to create maven managed gwt project with Eclipse IDE.</p>
  
  <p>I am using GWT 2.7. But when I create a project from <strong>File > New > Maven Project</strong> and choose gwt as <strong>Archetype</strong> , please find the image below -</p>
  
  <p><img src="https://i.stack.imgur.com/IzqE2.png" alt="enter image description here"></p>
  
  <p>The <strong>Version</strong> is 2.1.0-1 and generated pom.xml was gwt version 2.1. How can I update this <em>org.codehaus.mojo Archetype</em> ? Or can I setup to generate with my gwt version ?</p>
  
  <p><strong>EDIT:</strong> generated pom.xml is below but I am using gwt 2.7</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"&gt;
  
    &lt;!-- POM file generated with GWT webAppCreator --&gt;
    &lt;modelVersion&gt;4.0.0&lt;/modelVersion&gt;
    &lt;groupId&gt;com.my.test&lt;/groupId&gt;
    &lt;artifactId&gt;TestingGWT&lt;/artifactId&gt;
    &lt;packaging&gt;war&lt;/packaging&gt;
    &lt;version&gt;0.0.1-SNAPSHOT&lt;/version&gt;
    &lt;name&gt;GWT Maven Archetype&lt;/name&gt;
  
    &lt;properties&gt;
      &lt;!-- Convenience property to set the GWT version --&gt;
      &lt;gwtVersion&gt;2.1.0&lt;/gwtVersion&gt;
      &lt;!-- GWT needs at least java 1.5 --&gt;
      &lt;maven.compiler.source&gt;1.5&lt;/maven.compiler.source&gt;
      &lt;maven.compiler.target&gt;1.5&lt;/maven.compiler.target&gt;
      &lt;webappDirectory&gt;${project.build.directory}/${project.build.finalName}&lt;/webappDirectory&gt;
    &lt;/properties&gt;
  
    &lt;dependencies&gt;
      &lt;dependency&gt;
        &lt;groupId&gt;com.google.gwt&lt;/groupId&gt;
        &lt;artifactId&gt;gwt-servlet&lt;/artifactId&gt;
        &lt;version&gt;2.1.0&lt;/version&gt;
        &lt;scope&gt;runtime&lt;/scope&gt;
      &lt;/dependency&gt;
      &lt;dependency&gt;
        &lt;groupId&gt;com.google.gwt&lt;/groupId&gt;
        &lt;artifactId&gt;gwt-user&lt;/artifactId&gt;
        &lt;version&gt;2.1.0&lt;/version&gt;
        &lt;scope&gt;provided&lt;/scope&gt;
      &lt;/dependency&gt;  
      &lt;dependency&gt;
        &lt;groupId&gt;junit&lt;/groupId&gt;
        &lt;artifactId&gt;junit&lt;/artifactId&gt;
        &lt;version&gt;4.7&lt;/version&gt;
        &lt;scope&gt;test&lt;/scope&gt;
      &lt;/dependency&gt;
    &lt;/dependencies&gt;
  
    &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.1.0-1&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;goal&gt;generateAsync&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;testingGWT.html&lt;/runTarget&gt;
            &lt;hostedWebapp&gt;${webappDirectory}&lt;/hostedWebapp&gt;
            &lt;i18nMessagesBundle&gt;com.my.test.TestingGWT.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;/build&gt;
  
  &lt;/project&gt;
  </code></pre>
  
  <p><strong>PS</strong> : <em>Please don't suggest to edit pom.xml file after generated.</em></p>