title: Maven unable to download Hibernate Jars
body: <p>I have added hibernate dependencies in the POM however the build failure as it could not resolve the dependencies.</p>
  
  <p>I have double checked the settings file and also added the repository in the POM but i still get the same error.</p>
  
  <pre><code>&lt;dependencies&gt;
  &lt;dependency&gt;
  &lt;groupId&gt;org.hibernate&lt;/groupId&gt;
  &lt;artifactId&gt;hibernate-core&lt;/artifactId&gt;
  &lt;version&gt;4.1.6.Final&lt;/version&gt;
  &lt;/dependency&gt;
  
    &lt;dependency&gt;
  &lt;groupId&gt;org.hibernate&lt;/groupId&gt;
  &lt;artifactId&gt;hibernate-annotations&lt;/artifactId&gt;
  &lt;version&gt;3.5.6-Final&lt;/version&gt;
  &lt;/dependency&gt;
  
  &lt;dependency&gt;
  &lt;groupId&gt;org.hibernate&lt;/groupId&gt;
  &lt;artifactId&gt;hibernate-entitymanager&lt;/artifactId&gt;
  &lt;version&gt;3.3.2.GA&lt;/version&gt;
  &lt;/dependency&gt; 
  </code></pre>
  
  <p>The error code (same error via eclipse and command prompt): </p>
  
  <pre><code>        [INFO] ------------------------------------------------------------------------
          Downloading: https://repository.jboss.org/nexus/content/groups/public-jboss/org/hibernate/hibernate-core/4.1.6.Final/hibernate-core-4.1.6.Final.pom
          Downloading: https://repository.jboss.org/nexus/content/groups/public-jboss/org/hibernate/hibernate-entitymanager/3.3.2.GA/hibernate-entitymanager-3.3.2.GA.pom
          [INFO] ------------------------------------------------------------------------
          [INFO] BUILD FAILURE
          [INFO] ------------------------------------------------------------------------
          [INFO] Total time: 1.130s
          [INFO] Finished at: Sat Dec 22 14:23:02 GMT 2012
          [INFO] Final Memory: 7M/154M
          [INFO] ------------------------------------------------------------------------
          [ERROR] Failed to execute goal on project HibernateMadeEasy: Could not resolve dependencies for project HibernateMadeEasy:HibernateMadeEasy:jar:0.0.1-SNAPSHOT: Failed to collect dependencies for [org.hibernate:hibernate-core:jar:4.1.6.Final (compile), org.hibernate:hibernate-annotations:jar:3.5.6-Final (compile), org.hibernate:hibernate-entitymanager:jar:3.3.2.GA (compile)]: Failed to read artifact descriptor for org.hibernate:hibernate-core:jar:4.1.6.Final: Could not transfer artifact org.hibernate:hibernate-core:pom:4.1.6.Final from/to jboss-public-repository-group (https://repository.jboss.org/nexus/content/groups/public-jboss/): Failed to transfer https://repository.jboss.org/nexus/content/groups/public-jboss/org/hibernate/hibernate-core/4.1.6.Final/hibernate-core-4.1.6.Final.pom. Error code 400, Bad Request -&gt; [Help 1]
          [ERROR] 
          [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
          [ERROR] Re-run Maven using the -X switch to enable full debug logging.
          [ERROR] 
          [ERROR] For more information about the errors and possible solutions, please read the following articles:
          [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException
  </code></pre>