當試圖從運行Maven的命令行我們的GWT應用程序,我得到以下錯誤:runTarget缺失或無效 - 在GWT Maven項目
參數「runTarget」爲目標org.codehaus.mojo:GWT-行家-plugin:2.4.0:運行丟失或無效。
但是,這是在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>
什麼是我做錯了?
感謝