title: Maven loads wrong dependencies: Jackson codehaus -> fasterxml
body: <p>I upgraded a library version from: </p>
  
  <pre><code>    &lt;dependency&gt;
          &lt;groupId&gt;org.codehaus.jackson&lt;/groupId&gt;
          &lt;artifactId&gt;jackson-mapper-asl&lt;/artifactId&gt;
          &lt;version&gt;1.9.13&lt;/version&gt;
      &lt;/dependency&gt;
  </code></pre>
  
  <p>to</p>
  
  <pre><code>    &lt;dependency&gt;
          &lt;groupId&gt;com.fasterxml.jackson.core&lt;/groupId&gt;
          &lt;artifactId&gt;jackson-core&lt;/artifactId&gt;
          &lt;version&gt;2.8.9&lt;/version&gt;
      &lt;/dependency&gt;
  </code></pre>
  
  <p>When running a build or just <code>mvn dependency:resolve</code>, it fails with <code>The following artifacts could not be resolved: org.codehaus.jackson:jackson-core-asl:jar:2.8.9, org.codehaus.jackson:jackson-mapper-asl:jar:2.8.9: Could not find artifact org.codehaus.jackson:jackson-core-asl:jar:2.8.9 in central ...</code> on the deployment server. It somehow works when run on my development machine. Both machines (still) using Java7.</p>
  
  <p>Somehow it tries to load the old artifact with the new ID. But there is no remnant of <code>org.codehaus</code> in <code>pom.xml</code>.</p>
  
  <p>Running <code>mvn dependency:tree</code> as suggested by <a href="https://stackoverflow.com/a/13635415/3045181">this answer</a> yields to the same result. If executed on my dev machine, I can find no other jackson library (also no jersey lib which might depend on older jackson)</p>
  
  <p>I tried to delete the <code>org/codehaus/jackson</code> directory in <code>.m2/</code>, but it just repopulates it automatically.</p>
  
  <p>Possibly related <a href="https://stackoverflow.com/questions/26035558/jackson-dependency-version-being-overridden-when-doing-maven-build">question</a></p>
  
  <p>Any ideas anyone?</p>