title: Jenkins could not resolve dependencies
body: <p>I have a problem with jenkins version 1.500. i am trying to build a project with a dependency to another project of mine. 
  The error is:</p>
  
  <blockquote>
    <p><code>[ERROR] Failed to execute goal on project projectname: Could not resolve dependencies for project projectname:jar:1.0.0: Failure to find reference-project:jar:1.0.0 in http://repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced -&gt; [Help 1]</code></p>
  </blockquote>
  
  <p>If I build this project via console and Maven, the whole projects build succeed. 
  I checked the dependency jar file in the repository, it is there at the right place.</p>
  
  <p>Does Maven have a own repository or did I miss something?</p>
  
  <p>But under the Jenkins system settings, I chose "Default(~/.m2/repository)" and I did not check the checkbox "use own repository" at the project settings. Any ideas?</p>
  
  <p><strong>UPDATE</strong>
  I created a extra job for the dependency in jenkins and called the Maven goal install and then everything works fine. Before this step I installed the dependency via Console and mvn install. 
  Why is there a difference? (i tried the given solution with delete and reinstall, but this did not help)</p>