Hibernate Dependencies for a Maven Web App

by Hendrik Will. 0 Comments

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.

Maven Hibernate Core Dependencies

Here is a snippet:

<dependency>
 <groupId>org.hibernate</groupId>
  <artifactId>hibernate-core</artifactId>
  <version>3.6.3.Final</version>
</dependency>

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>