This project is a working example of a simple integration test using Maven 2, Spring 2.5, JPA 1.0, Hibernate 3, HSQLDB, and JUnit 4.
To run the example, download the distribution, unzip it so that there are no spaces in its path, and run mvn test. See file README in the distribution for further details.
If you have issues, questions, or comments please join the discussion in our Google Group.
Update - 09/29/2009: Updated pom with latest versions of dependencies: Spring 2.5.6, Hibernate 3.4.0.GA, JUnit 4.7, HSQLDB 22.214.171.124, and Hibernate3 Maven Plugin 2.2. I've tested using Maven 2.2.1 on Java 1.6.0_13 on Mac OS X 10.5.8.