将多个gwt模块聚集到一场战争中
我有一个多模块结构的项目,像这样将多个gwt模块聚集到一场战争中,gwt,maven,Gwt,Maven,我有一个多模块结构的项目,像这样 root | core | core-services | core-gwt-ui | some-like-core-modules | root-war 根war此模块用于将所有其他模块JAR压缩为一个。war。 当maven构建核心gwt ui时,我将在src.main中获得webappdir。与其他模块的情况相同 那么,如何调整root-war.pom以将所有gwt构建结果收集到一个war 下面是我的maven插件配置,用于构建核心gwt
root
|
core
|
core-services
|
core-gwt-ui
|
some-like-core-modules
|
root-war
根war此模块用于将所有其他模块JAR压缩为一个。war。
当maven构建核心gwt ui时,我将在src.main中获得webappdir。与其他模块的情况相同
那么,如何调整root-war.pom以将所有gwt构建结果收集到一个war
下面是我的maven插件配置,用于构建核心gwt ui
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>gwt-maven-plugin</artifactId>
<executions>
<execution>
<goals>
<goal>compile</goal>
</goals>
</execution>
</executions>
<configuration>
<inplace>true</inplace>
<runTarget>sample.client.Sample25/Sample25.html</runTarget>
</configuration>
</plugin>
org.codehaus.mojo
GWTMaven插件
编译
真的
sample.client.Sample25/Sample25.html
您有两种选择: