Hibernate publishes its artifacts to the JBoss Maven Repository under the org.hibernate groupId/namespace. To setup Maven to access JBoss Maven Repository follow the steps here. This will add the JBoss Maven Repository as an additional repository along with central maven repository.
Create a file named 'settings.xml' in the '.m2' directory under your home directory For me it is: /home/rhasija/.m2 and add the following content to it:
<?xml version="1.0" encoding="UTF-8"?>
<settings>
<profiles>
<profile>
<id>jboss-public-repository</id>
<repositories>
<repository>
<id>jboss-public-repository-group</id>
<name>JBoss Public Maven Repository Group</name>
<url>https://repository.jboss.org/nexus/content/groups/public-jboss/</url>
<layout>default</layout>
<releases>
<enabled>true</enabled>
<updatepolicy>never</updatepolicy>
</releases>
<snapshots>
<enabled>true</enabled>
<updatepolicy>never</updatepolicy>
</snapshots>
</repository>
</repositories>
<pluginrepositories>
<pluginrepository>
<id>jboss-public-repository-group</id>
<name>JBoss Public Maven Repository Group</name>
<url>https://repository.jboss.org/nexus/content/groups/public-jboss/</url>
<layout>default</layout>
<releases>
<enabled>true</enabled>
<updatepolicy>never</updatepolicy>
</releases>
<snapshots>
<enabled>true</enabled>
<updatepolicy>never</updatepolicy>
</snapshots>
</pluginrepository>
</pluginrepositories>
</profile>
</profiles>
<activeprofiles>
<activeprofile>jboss-public-repository</activeprofile>
</activeprofiles>
</settings>