The easiest thing to do by far would be to get a current version of the framework and create your sample project using an archetype, as described in the mavenSupport documentation topic. This will save you a lot of trouble, and as previously stated, you are using an obsolete version of the framework anyway.
Otherwise, our best suggestion at this time is to remove all unnecessary elements from your POM until `mvn package` creates a WAR with the correct content. In your case, you can probably replace the entire build section with a simple gwt compile step.
Code:
<build> <plugins> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>gwt-maven-plugin</artifactId> <version>${gwt.version}</version> <executions> <execution> <goals> <goal>compile</goal> </goals> </execution> </executions> </plugin> </plugins> </build>
Leave a comment: