I'm new to GWT and trying to figure things out, but on this maven
question, I created my initial project using the included
webAppCreator script like this ...
$GWT_HOME/webAppCreator -out myProject -maven com.myProject
(I'm on a Mac so change your path accordingly)
This created my initial project template including the pom.xml file.
See the generated README.txt file. I then imported the project into
Eclipse using the m2eclipse plugin and importing as an existing maven
project. Build from the command line or from Eclipse.
This gives you a working template ... add dependencies, get rid of the
sample code and start doing your own thing. First thing I did was
just add a dependency and did a mvn clean gwt:compile package then
looked in the the generated war file's WEB-INF/lib and my dependency
was there.
Very easy. I don't know if I'll run into problems as my app grows in
complexity but for a start I couldn't be happier.
Mort