【发布时间】:2011-04-28 15:25:27
【问题描述】:
我正在尝试在使用mvn gwt:run 启动的以托管模式运行的 GWT 应用程序设置系统属性。从外观上看,该属性尚未设置。在我的pom.xml 中,插件配置是:-
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>gwt-maven-plugin</artifactId>
<version>2.2.0</version>
<executions>
<execution>
<configuration>
<module>com.foo</module>
</configuration>
<goals>
<goal>compile</goal>
<goal>test</goal>
</goals>
</execution>
</executions>
<configuration>
<runTarget>index.html</runTarget>
<hostedWebapp>${webappDirectory}</hostedWebapp>
<systemProperties>
<property>
<name>configDir</name>
<value>${basedir}/local/staging</value>
</property>
</systemProperties>
</configuration>
</plugin>
【问题讨论】: