title: Eclipse: The archive which is referenced by the classpath, does not exist
body: <p>My Eclipse is Indigo Java classic.</p>
  
  <p>I have a java project which has mockito-all as a dependency. pom.xml:</p>
  
  <pre><code>&lt;dependency&gt;
      &lt;groupId&gt;org.mockito&lt;/groupId&gt;
      &lt;artifactId&gt;mockito-all&lt;/artifactId&gt;
      &lt;version&gt;1.8.5&lt;/version&gt;
      &lt;scope&gt;test&lt;/scope&gt;
  &lt;/dependency&gt;
  </code></pre>
  
  <p>run <code>mvn clean install</code>, everything is ok. Then I did <code>mvn eclipse:eclipse</code> to resolve all the dependencies in Eclipse.</p>
  
  <p>when I try to run a Junit in eclipse, it doesn't run and gives me this error:</p>
  
  <pre><code>'Launching YourTest' has encountered a problem.
  
  The archive: /home/shengjie/.m2/repository/org/mockito/mockito-all/1.9.5.jar which is referenced by the classpath, does not exist.
  </code></pre>
  
  <p>My project pom.xml claims it's depending on mockito-all 1.8.5, I am not sure where the 1.9.5 reference is coming from. Any ideas?</p>
  
  <p>==EDIT==</p>
  
  <pre><code>$ mvn dependency:tree | grep mockito
  [INFO] +- org.mockito:mockito-all:jar:1.8.5:test
  [INFO] \- org.powermock:powermock-api-mockito:jar:1.4.12:test
  [INFO] \- org.powermock:powermock-api-mockito:jar:1.4.12:test
  [INFO]    +- org.mockito:mockito-all:jar:1.8.5:test (version managed from 1.9.0)
  [INFO] |  +- org.mockito:mockito-all:jar:1.8.5:test (version managed from 1.9.5; scope managed from compile)
  [INFO] |  +- org.mockito:mockito-all:jar:1.8.5:test (version managed from 1.9.5; scope managed from compile)
  [INFO] \- org.powermock:powermock-api-mockito:jar:1.4.12:test
  [INFO] +- org.mockito:mockito-all:jar:1.8.5:test
  [INFO] +- org.powermock:powermock-api-mockito:jar:1.4.12:test
  [INFO] |  +- org.mockito:mockito-all:jar:1.8.5:test (version managed from 1.9.5; scope managed from compile)
  </code></pre>