title: maven unable to resolve dependency and cannot access jar
body: <p>I have my project dependencies in my <code>pom.xml</code> file and the required dependencies ( its another project ) jar has been available in <code>.m2</code> directory. </p>
  
  <p>But when i do <code>mvn clean compile</code> am getting the below error.</p>
  
  <pre><code>[ERROR] Failed to execute goal on project core: Could not resolve dependencies for project war:1.0-SNAPSHOT: 
  Cannot access pscs (http://demo01.corp.cat.com:8081/nexus/content/repositories/releases/) 
  in offline mode and the artifact api-client:jar:1.0.282 has not been downloaded from it before. -&gt; [Help 1]
  </code></pre>
  
  <p>But the same dependencies in some other project is working fine.</p>