cannot set a custom WAR directory
---------------------------------
Key: MGWT-260
URL: http://jira.codehaus.org/browse/MGWT-260
Project: Maven 2.x GWT Plugin
Issue Type: Bug
Affects Versions: 2.1.0-1
Environment: eclipse 3.6, maven 2, m2eclipse
Reporter: Marius A
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
Also posted here, no reply:
http://groups.google.com/group/codehaus-mojo-gwt-maven-plugin-users/browse_thread/thread/68db6957421a9a05
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email