This maven2 archetype contains a little sample application with the new Spring 3.0.0.RELEASE Framework and Hibernate 3.3.2.GA. The configuration is xml-driven. It is deployed on the PLOIN Repository-Server on
http://www.ploin-m2.de/nexus/content/groups/public/
you can create a project from the archetype with the following command:
mvn archetype:generate -DarchetypeGroupId=org.ploin.archetype -DarchetypeArtifactId=tempSpringHibernate -DarchetypeVersion=1.7 -DarchetypeRepository=http://www.ploin-m2.de/nexus/content/groups/public/ -DgroupId=org.ploin -DartifactId=demoSpringHibernate
The archetype contains the HSQLDB database. After you have created your demoApp, you can run the tests with “mvn test”. If you want switch to another database, like MySQL or Oracle, your have to make some changes in the pom.xml and in the applicationContext.xml