If your .gwt.xml
file is in src/main/resources/
then it won't get copied if you specify src/main/java/
as the resource path...
You should probably omit the <resource>
section and let the GWT plugin include the source in the jar or at least have two sections, one for the .gwt.xml
file (src/main/resources
or where you put it) and one for the source code (as you have it now).
Cheers,