To be able to use Hibernate in your project you need reference to Hibernate jars. Once you have set up your Maven to access JBoss repository for Hibernate artifacts, you can add the dependencies below to your pom.xml: We have added: Hibernate annotations. Hibernate commons annotations. Hibernate entity manager.…