我需要在 gwt-maven-plugin 配置中将“-deploy src/main/webapp/WEB-INF/deploy/”参数传递给 GWT 编译器。
我的目的是使用 gwt-log 集成远程记录器。
为了实现,我需要将上述参数传递给 GWT 编译器。
谢谢!! 巴韦什
最佳答案
<project>
[...]
<build>
<plugins>
[...]
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>gwt-maven-plugin</artifactId>
<version>2.4.0</version>
<executions>
<execution>
<configuration>
<deploy>src/main/webapp/WEB-INF/deploy/</deploy>
</configuration>
<goals>
<goal>compile</goal>
</goals>
</execution>
</executions>
</plugin>
[...]
</plugins>
</build>
[...]
</project>
如前所述,您需要升级。
关于java - 如何使用 Maven GWT 插件将参数传递给 GWT 编译器?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/9427979/