Here is just a quicky for a problem I was having trying to use the latest Hibernate in a project. I needed to setup Hibernate and HSQL in my pom.xml file so the project would build. I Googled around and could not find the correct answer. I tried the JBoss Maven repo were Hibernate lives but could not get the artifact hibernate or hibernate-distribution to work. After playing around here is the dependancies that are needed to get Hibernate Core to build with your code and using HSQL DB.
<dependencies> <dependency> <groupId>hsqldb</groupId> <artifactId>hsqldb</artifactId> <version>1.8.0.7</version> </dependency> <dependency> <groupId>org.hibernate</groupId> <artifactId>hibernate-core</artifactId> <version>3.3.0.SP1</version> </dependency> <dependency> <groupId>org.slf4j</groupId> <artifactId>slf4j-log4j12</artifactId> <version>1.4.0</version> </dependency> <dependency> <groupId>javassist</groupId> <artifactId>javassist</artifactId> <version>3.8.1.GA</version> </dependency> </dependencies>