How to add the Hibernate 4.2.8 Maven dependency in a project?
The Maven is industry standard build tool for compiling, testing, building and deploying the applications. It is very useful tool as it automatically downloads the dependencies from the remote repositories. It resolves the dependencies automatically and you just have to specify the dependency of Hibernate 4.2.8 in your project and it will download the necessary library.
If you don't have any experience with Maven then learn the Maven 3 tutorial first. Which will teach you how to develop applications using Maven build tool.
The new version of Hibernate is released which is Hibernate 4.2.8 final, which you can use in your project.
Here is the dependency code you can add to your pom.xml file:
<dependency> <groupId>org.hibernate</groupId> <artifactId>hibernate-core</artifactId> <version>4.2.8.Final</version> </dependency>
More tutorials on Hibernate:
If you enjoyed this post then why not add us on Google+? Add us to your Circles
Liked it! Share this Tutorial
Discuss: Hibernate 4.2.8 Maven dependency
Post your Comment