We have a Java project where we have downloaded all the jar files of Hibernate and includes. Every time we have to upgrade new version all the jar files needs to be replaced.
I want to use Maven with hibernate. How can i do it?
Maven is very build and dependency management tool. You can use this tool to manage your project. You can easily use Maven in your hibernate project.
If you are using Eclipse then convert this project to maven. and then add following dependency in your project:
<dependency> <groupId>org.hibernate</groupId> <artifactId>hibernate-core</artifactId> <version>5.2.8.Final</version> </dependency>
Then your project will download Hibernate jar files and include in your project.