Add Hibernate 3.3.2 as a dependency in your Maven POM

Recently I had to update a Maven POM to get the latest release of Hibernate (3.3.2) and if you are in this boat as well, here is what you have to do:

1) Ensure that you add the JBoss repository to your <code>repositories</code> section as the latest releases are not in the standard maven repository.

<!-- for hibernate -->

2) Add the latest version of hibernate to your <code>dependencies</code> section as such



3) Do an mvn clean then compile on your project and all the appropriate dependencies will be downloaded for use in your project.


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s