Follow these steps to get started (You need Maven 3 to sucessfully run the app!)
- Download the archetype
- Do a mvn clean install on the POM file
- Generate the artifact using following code:
mvn archetype:generate -DarchetypeGroupId=be.c4j -DarchetypeArtifactId=gae-wicket-archetype -DarchetypeVersion=1.0 -DgroupId=be.c4j -DartifactId=gaeproject -DinteractiveMode=false
- The parts in bold are what defines your projectname and default package
- On the newly created project, do a mvn gae:unpack
- Now you can mvn gae:run your application
- It's just a simple Wicket Hello World app, but it's a base to start from
This setup was made to prepare our Summer of Technology session. A lot of thanks go to Sebastian Van Sande for sorting out dependency issues and creating the archetype.
This post answers exactly what I was looking for: how to generate GAE project with JPA 2 and spring. It is clear, concise, very up-to-date and works as described. Many thanks for that.
ReplyDelete