GWT-Maven update

GWT-Maven has gotten a good deal of attention from the developers lately, and has a lot of new features and more stability as a result.

The Maven 2.x line now has a new beta release (one that will go non-beta any day now) that supports the following, in addition to the standard run the shell, run the compiler, generate client side beans stuff:

  • GWT testing using GwtTestCase and a special goal to handle it, gwt:testGwt
  • Better debugging support with gwt:debug that allows you to choose whether or not to delay the shell startup by waiting for a debugger to connect, or not, and allows you to choose the debugger port
  • A patch to enable better error handling from the GWT compiler, and fail the build on such errors, has been added
  • Better support for multiple modules in one POM
  • An updated web site for the project, including new documentation
  • And a lot of other stuff has been worked on and fixed as well.

    All in all the M2 version of the plugin feels pretty solid to me now. I had not used it up to now (been using the M1 version, which still works fine), basically because of the GWT testing issues, but those are no more.

    Props to Will Pugh, Cooper, and a bunch of the users on the list who submitted issues - and even patches. GWT-Maven in it's current state has a lot of functionality, and has proven very useful in my day job, hopefully it helps others too.

    (And, though most people are using M2 now, because all the support for Maven in general is focused there, there is still an M1 version of GWT-Maven that works quite well too - if you need it.)