Hi,
When importing in Eclipse an existing (gwt) maven project, the
default
Project properties -> Google -> Web Application is always "src/main/
webapp".
This setting is stored in Eclipse in main/.settings/
com.google.gdt.eclipse.core.prefs
I have tried to set it using these in pom.xml, with no effect:
<plugin>
<groupId>org.apache.maven.plugins</
groupId>
<artifactId>maven-war-plugin</
artifactId>
<version>${maven.war.plugin.version}</
version>
<configuration>
<webappDirectory>$
{project.build.directory}/$
{project.build.finalName}</webappDirectory>
<warSourceDirectory>$
{project.build.directory}/$
{project.build.finalName}</warSourceDirectory>
<webXml>src/main/resources/WEB-
INF/web.xml</webXml>
</configuration>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>gwt-maven-plugin</
artifactId>
<configuration>
... <hostedWebapp>$
{project.build.directory}/$
{project.build.finalName}</hostedWebapp>
<webappDirectory>$
{project.build.directory}/$
{project.build.finalName}</webappDirectory>
</plugin>
How can this Eclipse setting be forced to ${project.build.directory}/
$
{project.build.finalName} by default?
Docs i've looked at:
http://mojo.codehaus.org/gwt-maven-plugin/eclipse/google_plugin.html
http://maven.apache.org/plugins/maven-war-plugin/war-mojo.html
jira.codehaus.org/browse/MGWT-179
Thanks