title: I want my Nexus repo to mirror snapshot of another Nexus repo for 24 hour
body: <p>I am working on the same code as my client but I can not share its SVN server. That's why I've made a bridge with git-svn between our SVN servers to keep code in sync. For some reason I can make this synchronisation automaticaly only once a day, let's say at 3 o'clock in the morning. This part works (almost) right.</p>
  
  <p>I also have a Nexus repository that is the mirror of my client's Nexus repo. The code depends on a lot of others artifacts from my client, all in a SNAPSHOT version. Very often, the API of one of these dependencies changes, and a new artifact is available on my client's Nexus repo. When I compile locally, maven checks for new version of dependencies, finds the new artifact with the new API, downloads it, and uses it for compilation. Since my code is only synchronized once a day, I don't have the latest code version, and my local code does not compile any more. There is a temporal inconsistency between the code and the Nexus.</p>
  
  <p>To resolve that, I would like my local Nexus repo not to check for new versions from its parent. That is my problem, I don't know how to do that.</p>
  
  <p>My solution so far was to :</p>
  
  <ul>
  <li>expire the cache of my local Nexus repo at 3 oclock (with a Nexus
  scheduled task)</li>
  <li>set the cache artifact max age to 1440 min (24 hours)
  so that the repo will consider that the cache is OK until the next
  SVN synchro</li>
  <li>set the metadata Max age to 1440 min too, so that my repo
  won't consider rechecking metadata on the parent repo</li>
  </ul>
  
  <p>This is where my knowledges led me but seemingly this is not correct, since when I compile with the -U option, my local repo still keeps on rechecking its parent for new versions.</p>
  
  <p>Can someone tell me where I am wrong? Is there something to do with the Index too ?</p>