When trying to run our GWT app from maven command line, I get the following error:
The parameters 'runTarget' for goal org.codehaus.mojo:gwt-maven-plugin:2.4.0:run are missing or invalid.
However, this is with the following in the pom.xml:
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>gwt-maven-plugin</artifactId>
<!-- <version>2.5.0</version> 2.1.0-1 -->
<version>${gwt.version}</version>
<configuration>
<configuration>
<runTarget>com.magick.webtrader/Webtrader.html</runTarget>
<buildOutputDirectory>${project.build.outputDirectory}</buildOutputDirectory>
<generateDirectory>${project.build.directory}/generated-sources/gwt</generateDirectory>
<hostedWebapp>${webappDirectory}</hostedWebapp>
<copyWebApp>true</copyWebApp>
<draftCompile>true</draftCompile>
<webXml>${basedir}/war/WEB-INF/web.xml</webXml>
</configuration>
</configuration>
<executions>
<execution>
<goals>
<goal>compile</goal>
<goal>test</goal>
<goal>generateAsync</goal>
</goals>
</execution>
</executions>
</plugin>
What is it I'm doing wrong?
Thanks