title: Maven could not find artifact that already exists in repository
body: <p>I run "mvn install" in command line and get stuck by below error.</p>
  
  <pre><code>Caused by: org.apache.maven.project.DependencyResolutionException: Could not resolve dependencies for project com.detux.vios:common-entity:jar:2_0_0: 
  Could not find artifact org.hibernate:hibernate-entitymanager:jar:3.6.2.FINAL in central (http://repo.maven.apache.org/maven2)
  </code></pre>
  
  <p>I check in m2\repository\org\hibernate\hibernate-entitymanager\3.6.2.FINAL\, here is its contents</p>
  
  <p><img src="https://i.stack.imgur.com/bhooL.png" alt="enter image description here"></p>
  
  <p>I've also tried to add new remote repository to pom.xml but it still doesn't work</p>
  
  <pre><code>&lt;project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
      xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"&gt;
      &lt;modelVersion&gt;4.0.0&lt;/modelVersion&gt;
      &lt;parent&gt;
          &lt;artifactId&gt;common&lt;/artifactId&gt;
          &lt;groupId&gt;com.detux.vios&lt;/groupId&gt;
          &lt;version&gt;2_0_0&lt;/version&gt;
      &lt;/parent&gt;
      &lt;groupId&gt;com.detux.vios&lt;/groupId&gt;
      &lt;artifactId&gt;common-entity&lt;/artifactId&gt;
      &lt;version&gt;${common.version}&lt;/version&gt;
      &lt;name&gt;Vios Common entity&lt;/name&gt;
      &lt;dependencies&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;org.hibernate&lt;/groupId&gt;
              &lt;artifactId&gt;hibernate-entitymanager&lt;/artifactId&gt;
              &lt;version&gt;${hibernate.version}&lt;/version&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;com.detux.vios&lt;/groupId&gt;
              &lt;artifactId&gt;common-util&lt;/artifactId&gt;
              &lt;version&gt;${common.version}&lt;/version&gt;
          &lt;/dependency&gt;
      &lt;/dependencies&gt;
      &lt;properties&gt;
      &lt;/properties&gt;
      &lt;repositories&gt;
          &lt;repository&gt;
              &lt;id&gt;repository.jboss.org-public&lt;/id&gt;
              &lt;name&gt;JBoss repository&lt;/name&gt;
              &lt;url&gt;http://repository.jboss.org/nexus/content/groups/public&lt;/url&gt;
          &lt;/repository&gt;
      &lt;/repositories&gt;
  &lt;/project&gt;
  </code></pre>
  
  <p>Below is pom.xml of parent project</p>
  
  <pre><code>&lt;project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
      xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"&gt;
      &lt;modelVersion&gt;4.0.0&lt;/modelVersion&gt;
      &lt;groupId&gt;com.detux.vios&lt;/groupId&gt;
      &lt;artifactId&gt;common&lt;/artifactId&gt;
      &lt;version&gt;2_0_0&lt;/version&gt;
      &lt;packaging&gt;pom&lt;/packaging&gt;
      &lt;name&gt;Vios Common&lt;/name&gt;
  
      &lt;build&gt;
          &lt;plugins&gt;
              &lt;plugin&gt;
                  &lt;groupId&gt;org.apache.maven.plugins&lt;/groupId&gt;
                  &lt;artifactId&gt;maven-compiler-plugin&lt;/artifactId&gt;
                  &lt;configuration&gt;
                      &lt;source&gt;1.6&lt;/source&gt;
                      &lt;target&gt;1.6&lt;/target&gt;
                  &lt;/configuration&gt;
              &lt;/plugin&gt;
              &lt;plugin&gt;
                  &lt;groupId&gt;org.apache.maven.plugins&lt;/groupId&gt;
                  &lt;artifactId&gt;maven-jar-plugin&lt;/artifactId&gt;
                  &lt;executions&gt;
                      &lt;execution&gt;
                          &lt;id&gt;jar-test-classes&lt;/id&gt;
                          &lt;phase&gt;package&lt;/phase&gt;
                          &lt;goals&gt;
                              &lt;goal&gt;test-jar&lt;/goal&gt;
                          &lt;/goals&gt;
                      &lt;/execution&gt;
                  &lt;/executions&gt;
              &lt;/plugin&gt;
          &lt;/plugins&gt;
      &lt;/build&gt;
  
      &lt;properties&gt;
          &lt;commons-jxpath.version&gt;1.3&lt;/commons-jxpath.version&gt;
          &lt;common.version&gt;2_0_0&lt;/common.version&gt;
          &lt;spring.version&gt;3.0.5.RELEASE&lt;/spring.version&gt;
          &lt;spring.integration.version&gt;2.0.4.RELEASE&lt;/spring.integration.version&gt;
          &lt;hibernate.version&gt;3.6.2.FINAL&lt;/hibernate.version&gt;
          &lt;maven-jaxb2-plugin.version&gt;0.7.4&lt;/maven-jaxb2-plugin.version&gt;
          &lt;commonsbeanutils.version&gt;1.8.3&lt;/commonsbeanutils.version&gt;
          &lt;commons-lang.version&gt;2.6&lt;/commons-lang.version&gt;
      &lt;/properties&gt;
      &lt;modules&gt;
          &lt;module&gt;common-model&lt;/module&gt;
          &lt;module&gt;common-entity&lt;/module&gt;
          &lt;module&gt;common-storage&lt;/module&gt;
          &lt;module&gt;common-util&lt;/module&gt;
          &lt;module&gt;common-service&lt;/module&gt;
          &lt;module&gt;common-service-business&lt;/module&gt;
          &lt;module&gt;common-service-resource&lt;/module&gt;
          &lt;module&gt;common-catalog&lt;/module&gt;
          &lt;module&gt;common-xml-jaxb2&lt;/module&gt;
      &lt;/modules&gt;
  &lt;/project&gt;
  </code></pre>