Java – How to setup a Java Eclipse (Juno) dynamic web project with Maven for App Engine

eclipsegoogle-app-enginegwtjavamaven

I am using appengine + GWT in Eclipse and have working code but wanted to add Maven to control jar files. What is the current suggested way to setup such a project?

I have found a few possible options, but non work for me:

1) create "Dynamic Web Project" and setup directories to fit with Maven … https://developers.google.com/eclipse/docs/faq#gwt_with_maven

2) Similar to 1, with more steps Java Dynamic Web project with Maven and Eclipse

3) use plugins m2e 1.3+ and m2e-wtp 0.16.0+ http://wiki.eclipse.org/M2E-WTP/New_and_Noteworthy/0.16#New_project_conversion_participants

I have tried creating projects from scratch and adding Maven to a working project, but non work. Maven looks to be working as every thing compiles ok, but the deploy fails. Look like the Jar files from Maven are not being deployed.

Best Answer

I think the Maven GWT Plugin could help you!