I've previously posted about how to set up a Google App Engine project utilizing Maven to its fullest extent. On a recent update to Google Plugin for Eclipse, they introduced Google Could SQL which meant changes to the archetype I've created. Also since the last release I had done some other improvements too, so I decided it's time for 2.0!
The POM is huge but it provides as seamless as possible integration of the Maven project to Eclipse. And this is how you use the archetype:
mvn org.apache.maven.plugins:maven-archetype-plugin:2.2:generate \ -DarchetypeGroupId=com.javanto \ -DarchetypeArtifactId=gae-eclipse-maven-archetype \ -DarchetypeVersion=2.0 \ -DarchetypeRepository=https://raw.github.com/javanto/repository/releases
If you, for some reason don't want to use the archetype but rather see an example project, there's one with pretty much identical content. You can see that live in action (when the goddamn spammers haven't flooded the datastore read operations) at gae-eclipse-maven-example.appspot.com.
Also, if someone experienced with Eclipse plugin development wants to take the integration a one or two steps further, go ahead and contact me, we should do a m2eclipse plugin!