Tuesday, October 18, 2011

Battling Maven and GWT

 I recently decided to tackle what I came to find out was a huge problem amongst java developers who wanted to work in Google Web Toolkit, but integrated with maven to manage project structure, dependency management, and a great command line utility.  Apparently the community for mavenizing GWT applications is very broken and there has not been a very clear way to work around the problem.  

After experimenting a bit with eclipse and generating various pom archetypes, I found out the process is difficult and usually results in numerous errors in eclipse that can somehow still run through the command line.  I almost gave up, when I found some interesting info posted by google on Sep 22, 2011:

The easiest way to get a GWT POM going is to snag one from of the GWT Maven sample projects. There are currently issues with the gwt-maven-plugin archetypes, so a good starter POM is the best way to go until those issues are resolved.