convert legacy gwt project to maven project

20 views
Skip to first unread message

Jenny

unread,
Feb 12, 2025, 2:21:25 PMFeb 12
to Codehaus Mojo gwt-maven-plugin Users
Hello,
We have a legacy GWT project with following configurations that needs to be converted to a Maven  project. 

GWT2.9
JDK11
Eclipse 4.24
Tomcat 9

We have changed our project by applying the Maven folder structure as below and created pom.xml with maven gwt plugin and cargo maven plugin and related dependencies. 

src/main/java -> java sources
src/main/resources -> resources: .properties files, .xml files, ...
src/test/java -> test java sources
src/test/resources -> test resources

Please see attached for the error and configuration files. We put the project configuration file .gwt.xml file under the src/main/java folder instead of the resource folder as we noticed that some sample project did this way. Is it correct?

When we run "mvn:compile" with "compile" goal, we didn't get any errors. However, when we tried to run it in Super dev. mode with Maven build goal as "gwt:codeserver" or run "mvn:package" command, we run into this problem.
As we're still new to Maven building process for the gwt project, please help shed some lights on the issue when we tried to run it in super dev. mode.

Your help is much appreciated!
Jenny

pom.xml
ARIES.gwt.xml
maven package error.jpg
superdev-error.jpg
Reply all
Reply to author
Forward
0 new messages