title: The parameters 'runTarget' for goal org.codehaus.mojo:gwt-maven-plugin:2.5.0:run are missing or invalid
body: <p>I have created gwt maven project now I want to compile it and run it. To comiple I am providing <code>gwt:compile</code> as goal and to run <code>gwt:run</code> but it is giving me build failure with exception:</p>
  
  <blockquote>
    <p>[INFO]  [INFO] >>> gwt-maven-plugin:2.5.0:run (default-cli) @
     engilev2_with_maven >>> [INFO]<br>
    [INFO] ---
     maven-resources-plugin:2.5:resources (default-resources) @
     engilev2_with_maven --- [debug] execute contextualize<br>
    [INFO] Using
     'UTF-8' encoding to copy filtered resources.<br>
    [INFO] Copying 3
     resources [INFO]<br>
    [INFO] --- maven-compiler-plugin:2.5.1:compile (default-compile) @ engilev2_with_maven ---<br>
    [INFO] Compiling 1 source file to /root/18julyWorkspace/engilev2_with_maven/target/EngileNightly/WEB-INF/classes<br>
    [INFO] &lt;&lt;&lt; gwt-maven-plugin:2.5.0:run (default-cli) @ engilev2_with_maven &lt;&lt;&lt; [INFO]<br>
    [INFO] --- gwt-maven-plugin:2.5.0:run (default-cli) @ engilev2_with_maven ---<br>
    [INFO] ------------------------------------------------------------------------<br>
    [INFO] BUILD FAILURE<br>
    [INFO] ------------------------------------------------------------------------<br>
    [INFO] Total time: 4.128s [INFO] Finished at: Thu Dec 27 12:01:34 IST 2012<br>
    [INFO] Final Memory: 18M/131M<br>
    [INFO] ------------------------------------------------------------------------<br>
    [WARNING] The requested profile "default" could not be activated because it does not exist.<br>
    [ERROR] Failed to execute goal org.codehaus.mojo:gwt-maven-plugin:2.5.0:run (default-cli) on project<br>
    engilev2_with_maven: The parameters 'runTarget' for goal
    org.codehaus.mojo:gwt-maven-plugin:2.5.0:run are missing or invalid -><br>
    [Help 1] [ERROR]<br>
    [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.<br>
    [ERROR] Re-run Maven using the -X<br>
    switch to enable full debug logging.</p>
  </blockquote>
  
  <p>I don't understand what problem here</p>
  
  <p>Pom.xml :::</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;engilev2_with_maven&lt;/groupId&gt;
      &lt;artifactId&gt;engilev2_with_maven&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.4.0&lt;/gwtVersion&gt;
          &lt;!-- GWT needs at least java 1.5 --&gt;
          &lt;webappDirectory&gt;${project.build.directory}/${project.build.finalName}&lt;/webappDirectory&gt;
          &lt;project.build.sourceEncoding&gt;UTF-8&lt;/project.build.sourceEncoding&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;${gwtVersion}&lt;/version&gt;
              &lt;scope&gt;runtime&lt;/scope&gt;
          &lt;/dependency&gt;
          &lt;!-- &lt;dependency&gt; &lt;groupId&gt;com.google.gwt&lt;/groupId&gt; &lt;artifactId&gt;gwt-user&lt;/artifactId&gt; 
              &lt;version&gt;${gwtVersion}&lt;/version&gt; &lt;scope&gt;provided&lt;/scope&gt; &lt;/dependency&gt; --&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;dependency&gt;
              &lt;groupId&gt;javax.validation&lt;/groupId&gt;
              &lt;artifactId&gt;validation-api&lt;/artifactId&gt;
              &lt;version&gt;1.0.0.GA&lt;/version&gt;
              &lt;scope&gt;test&lt;/scope&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;javax.validation&lt;/groupId&gt;
              &lt;artifactId&gt;validation-api&lt;/artifactId&gt;
              &lt;version&gt;1.0.0.GA&lt;/version&gt;
              &lt;classifier&gt;sources&lt;/classifier&gt;
              &lt;scope&gt;test&lt;/scope&gt;
          &lt;/dependency&gt;
          &lt;!-- &lt;dependency&gt; &lt;groupId&gt;com.google.gwt&lt;/groupId&gt; &lt;artifactId&gt;gwt-user&lt;/artifactId&gt; 
              &lt;version&gt;${gwtVersion}&lt;/version&gt; &lt;scope&gt;provided&lt;/scope&gt; &lt;/dependency&gt; --&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;org.slf4j&lt;/groupId&gt;
              &lt;artifactId&gt;slf4j-simple&lt;/artifactId&gt;
              &lt;version&gt;1.6.1&lt;/version&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;appops_shared&lt;/groupId&gt;
              &lt;artifactId&gt;appops_shared&lt;/artifactId&gt;
              &lt;version&gt;1.0&lt;/version&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;appops_client&lt;/groupId&gt;
              &lt;artifactId&gt;appops_client&lt;/artifactId&gt;
              &lt;version&gt;1.0&lt;/version&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;appops_server&lt;/groupId&gt;
              &lt;artifactId&gt;appops_server&lt;/artifactId&gt;
              &lt;version&gt;1.0&lt;/version&gt;
          &lt;/dependency&gt;
  
          &lt;dependency&gt;
              &lt;groupId&gt;commons-codec&lt;/groupId&gt;
              &lt;artifactId&gt;commons-codec&lt;/artifactId&gt;
              &lt;version&gt;1.7&lt;/version&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;commons-collections&lt;/groupId&gt;
              &lt;artifactId&gt;commons-collections&lt;/artifactId&gt;
              &lt;version&gt;3.2.1&lt;/version&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;mysql&lt;/groupId&gt;
              &lt;artifactId&gt;mysql-connector-java&lt;/artifactId&gt;
              &lt;version&gt;5.1.21&lt;/version&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;org.apache.lucene&lt;/groupId&gt;
              &lt;artifactId&gt;lucene-core&lt;/artifactId&gt;
              &lt;version&gt;3.4.0&lt;/version&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;local.mvp4g&lt;/groupId&gt;
              &lt;artifactId&gt;mvp4g&lt;/artifactId&gt;
              &lt;version&gt;1.4.0&lt;/version&gt;
          &lt;/dependency&gt;
          &lt;!-- &lt;dependency&gt; &lt;groupId&gt;org.hibernate&lt;/groupId&gt; &lt;artifactId&gt;hibernate&lt;/artifactId&gt; 
              &lt;version&gt;3.0&lt;/version&gt; &lt;/dependency&gt; --&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;org.hibernate&lt;/groupId&gt;
              &lt;artifactId&gt;hibernate-annotations&lt;/artifactId&gt;
              &lt;version&gt;3.5.6-Final&lt;/version&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;aopalliance&lt;/groupId&gt;
              &lt;artifactId&gt;aopalliance&lt;/artifactId&gt;
              &lt;version&gt;1.0&lt;/version&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;commons-fileupload&lt;/groupId&gt;
              &lt;artifactId&gt;commons-fileupload&lt;/artifactId&gt;
              &lt;version&gt;1.2&lt;/version&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;com.google.gwt.inject&lt;/groupId&gt;
              &lt;artifactId&gt;gin&lt;/artifactId&gt;
              &lt;version&gt;2.0.0&lt;/version&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;org.reflections&lt;/groupId&gt;
              &lt;artifactId&gt;reflections&lt;/artifactId&gt;
              &lt;version&gt;0.9.8&lt;/version&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;com.googlecode.gwtupload&lt;/groupId&gt;
              &lt;artifactId&gt;gwtupload&lt;/artifactId&gt;
              &lt;version&gt;0.6.4&lt;/version&gt;
          &lt;/dependency&gt;
  
          &lt;dependency&gt;
              &lt;groupId&gt;javax.mail&lt;/groupId&gt;
              &lt;artifactId&gt;mailapi&lt;/artifactId&gt;
              &lt;version&gt;1.4.3&lt;/version&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;org.hibernate&lt;/groupId&gt;
              &lt;artifactId&gt;hibernate-core&lt;/artifactId&gt;
              &lt;version&gt;3.6.0.Final&lt;/version&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;javax.inject&lt;/groupId&gt;
              &lt;artifactId&gt;javax.inject&lt;/artifactId&gt;
              &lt;version&gt;1&lt;/version&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;org.hibernate&lt;/groupId&gt;
              &lt;artifactId&gt;hibernate-validator&lt;/artifactId&gt;
              &lt;version&gt;4.1.0.Final&lt;/version&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;org.hibernate&lt;/groupId&gt;
              &lt;artifactId&gt;hibernate-commons-annotations&lt;/artifactId&gt;
              &lt;version&gt;3.2.0.Final&lt;/version&gt;
          &lt;/dependency&gt;
          &lt;!-- &lt;dependency&gt; &lt;groupId&gt;org.slf4j&lt;/groupId&gt; &lt;artifactId&gt;slf4j-jdk14&lt;/artifactId&gt; 
              &lt;version&gt;1.6.1&lt;/version&gt; &lt;/dependency&gt; --&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;org.slf4j&lt;/groupId&gt;
              &lt;artifactId&gt;slf4j-api&lt;/artifactId&gt;
              &lt;version&gt;1.6.1&lt;/version&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;log4j&lt;/groupId&gt;
              &lt;artifactId&gt;log4j&lt;/artifactId&gt;
              &lt;version&gt;1.2.16&lt;/version&gt;
  
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;org.slf4j&lt;/groupId&gt;
              &lt;artifactId&gt;slf4j-log4j12&lt;/artifactId&gt;
              &lt;version&gt;1.6.1&lt;/version&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;com.googlecode.gwtphonegap&lt;/groupId&gt;
              &lt;artifactId&gt;gwtphonegap&lt;/artifactId&gt;
              &lt;version&gt;1.8.1.0&lt;/version&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;org.atmosphere&lt;/groupId&gt;
              &lt;artifactId&gt;atmosphere-gwt-server&lt;/artifactId&gt;
              &lt;version&gt;1.0.1&lt;/version&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;org.atmosphere&lt;/groupId&gt;
              &lt;artifactId&gt;atmosphere-gwt-poll&lt;/artifactId&gt;
              &lt;version&gt;1.0.1&lt;/version&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;org.atmosphere&lt;/groupId&gt;
              &lt;artifactId&gt;atmosphere-gwt-common&lt;/artifactId&gt;
              &lt;version&gt;1.0.1&lt;/version&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;org.atmosphere&lt;/groupId&gt;
              &lt;artifactId&gt;atmosphere-compat-tomcat&lt;/artifactId&gt;
              &lt;version&gt;1.0.1&lt;/version&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;org.atmosphere&lt;/groupId&gt;
              &lt;artifactId&gt;atmosphere-compat-tomcat7&lt;/artifactId&gt;
              &lt;version&gt;1.0.1&lt;/version&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;org.atmosphere&lt;/groupId&gt;
              &lt;artifactId&gt;atmosphere-compat-jbossweb&lt;/artifactId&gt;
              &lt;version&gt;1.0.1&lt;/version&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;com.google.inject&lt;/groupId&gt;
              &lt;artifactId&gt;guice&lt;/artifactId&gt;
              &lt;version&gt;3.0&lt;/version&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;com.google.inject.extensions&lt;/groupId&gt;
              &lt;artifactId&gt;guice-assisted-inject&lt;/artifactId&gt;
              &lt;version&gt;2.0&lt;/version&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;com.google.inject.extensions&lt;/groupId&gt;
              &lt;artifactId&gt;guice-servlet&lt;/artifactId&gt;
              &lt;version&gt;3.0&lt;/version&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;com.google.oauth-client&lt;/groupId&gt;
              &lt;artifactId&gt;google-oauth-client&lt;/artifactId&gt;
              &lt;version&gt;1.11.0-beta&lt;/version&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;com.google.oauth-client&lt;/groupId&gt;
              &lt;artifactId&gt;google-oauth-client-servlet&lt;/artifactId&gt;
              &lt;version&gt;1.11.0-beta&lt;/version&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;org.atmosphere&lt;/groupId&gt;
              &lt;artifactId&gt;atmosphere-runtime&lt;/artifactId&gt;
              &lt;version&gt;1.0.1&lt;/version&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;org.atmosphere&lt;/groupId&gt;
              &lt;artifactId&gt;atmosphere-gwt-client&lt;/artifactId&gt;
              &lt;version&gt;1.0.1&lt;/version&gt;
          &lt;/dependency&gt;
  
          &lt;dependency&gt;
              &lt;groupId&gt;net.sf.ehcache&lt;/groupId&gt;
              &lt;artifactId&gt;ehcache&lt;/artifactId&gt;
              &lt;version&gt;1.5.0&lt;/version&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;c3p0&lt;/groupId&gt;
              &lt;artifactId&gt;c3p0&lt;/artifactId&gt;
              &lt;version&gt;0.9.1.2&lt;/version&gt;
          &lt;/dependency&gt;
  
          &lt;dependency&gt;
              &lt;groupId&gt;gwt-oauth2&lt;/groupId&gt;
              &lt;artifactId&gt;gwt-oauth2&lt;/artifactId&gt;
              &lt;version&gt;0.2&lt;/version&gt;
              &lt;classifier&gt;alpha&lt;/classifier&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;com.google.code.gson&lt;/groupId&gt;
              &lt;artifactId&gt;gson&lt;/artifactId&gt;
              &lt;version&gt;2.1&lt;/version&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;com.google.gwt&lt;/groupId&gt;
              &lt;artifactId&gt;gwt-dev&lt;/artifactId&gt;
              &lt;version&gt;${gwtVersion}&lt;/version&gt;
              &lt;type&gt;jar&lt;/type&gt;
              &lt;scope&gt;compile&lt;/scope&gt;
          &lt;/dependency&gt;
      &lt;/dependencies&gt;
  
      &lt;build&gt;
          &lt;finalName&gt;EngileNightly&lt;/finalName&gt;
          &lt;outputDirectory&gt;${webappDirectory}/WEB-INF/classes&lt;/outputDirectory&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;!-- &lt;versionRange&gt;[2.5.0,)&lt;/versionRange&gt; --&gt;
                                      &lt;version&gt;${gwtVersion}&lt;/version&gt;
                                      &lt;goals&gt;
                                          &lt;goal&gt;resources&lt;/goal&gt;
                                          &lt;goal&gt;compile&lt;/goal&gt;
                                          &lt;goal&gt;i18n&lt;/goal&gt;
                                          &lt;goal&gt;generateAsync&lt;/goal&gt;
                                      &lt;/goals&gt;
                                      &lt;configuration&gt;
                                          &lt;modules&gt;
                                              &lt;module&gt;com.engile.Engile&lt;/module&gt;
                                          &lt;/modules&gt;
                                      &lt;/configuration&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;plugin&gt;
                  &lt;groupId&gt;org.apache.maven.plugins&lt;/groupId&gt;
                  &lt;artifactId&gt;maven-compiler-plugin&lt;/artifactId&gt;
                  &lt;version&gt;2.5.1&lt;/version&gt;
                  &lt;configuration&gt;
                      &lt;source&gt;1.5&lt;/source&gt;
                      &lt;target&gt;1.5&lt;/target&gt;
                  &lt;/configuration&gt;
              &lt;/plugin&gt;
          &lt;/plugins&gt;
      &lt;/build&gt;
  
  &lt;/project&gt;
  </code></pre>