Search code examples
javamavengwtmojo

GWT + Maven + Eclipse -> Easy way?


I want to set up a GWT Project with Maven. Now I am wondering what would be the easiest way to do so?

I stumbled over the Mojo GWT Maven plugin: http://mojo.codehaus.org/gwt-maven-plugin. But this looks rather complicated to set up.

Now my questions:

  1. Is there an easier way to set up a GWT Maven Project?
  2. Do I necessarily need another GWT Maven plugin (expect the normal Maven plugin of course)?

Solution

    1. Not really. GWT projects are inherently complicated since they're using a different compiler with different rules. Feel free to clarify with more specific questions about it.

    2. I don't know what you mean by "normal Maven plugin", but you do need gwt-maven-plugin attached to at least your final war project so that the appropriate Javascript files get generated.