title: gwt-maven-plugin: Plugin requires Maven version 2.1
body: <p>I am trying to use gwt-maven-plugin to compile my project. I have Maven 3.0.3 installed in my spring tool suite eclipse 4.2.</p>
  
  <p>However, the plugin croaks that it wants to use maven 2.1. I am sure it should have no problems using maven 3.x, right??</p>
  
  <blockquote>
    <p>[artifact:mvn] [INFO] Error resolving version for 'org.codehaus.mojo:gwt-maven-plugin': Plugin requires Maven version 2.1</p>
  </blockquote>
  
  <p>My plugin defn:</p>
  
  <pre><code>&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;configuration&gt;
          &lt;module&gt;ally.mc.beal&lt;/module&gt;
          &lt;gen&gt;gwt-generated&lt;/gen&gt;
        &lt;/configuration&gt;
        &lt;goals&gt;
          &lt;goal&gt;compile&lt;/goal&gt;
        &lt;/goals&gt;
      &lt;/execution&gt;
    &lt;/executions&gt;
  &lt;/plugin&gt;
  </code></pre>
  
  <p>My ant target I used to trigger the gwt compile:</p>
  
  <pre><code>&lt;project name="AllyMcBeal"
    xmlns:artifact="antlib:org.apache.maven.artifact.ant"&gt;
  
    &lt;path id="maven-ant-tasks.classpath" path="maven/maven-ant-tasks-2.1.3.jar" /&gt;
  ...
    &lt;target name="gwt.compile"&gt;
      &lt;artifact:mvn&gt;
        &lt;arg value="gwt:compile" /&gt;
      &lt;/artifact:mvn&gt;
    &lt;/target&gt;
  ...
  &lt;/project&gt;
  </code></pre>
  
  <ul>
  <li>Do I have to install maven 2.1?</li>
  <li>or, is there a way to force it to use maven 3.x?</li>
  <li>or, am I missing a piece of info in the config?</li>
  </ul>