If you’re using Maven to build a Web App with the latest version of Hibernate you only need to add the hibernate-core dependency to your pom.xml (Project Object Model). The Hibernate project added their own pom.xml which will download all other library dependencies from the Maven repository for you automatically.
I saw that many blogs still refer that you have to add many dependencies to use Hibernate which confused me a lot. Also JBoss recently started to sync their repository with the Maven repository. So there is no need to add another JBoss repository to your pom.xml.
Here is a snippet:
<dependency> <groupId>org.hibernate</groupId> <artifactId>hibernate-core</artifactId> <version>3.6.3.Final</version> </dependency>