title: How to prevent SBT from trying to download from official repositories?
body: <p>I want to use SBT with IntelliJ IDEA 14.1. However, I want to download everything from our company-internal Nexus server. I made two repository groups there which contain some proxy repositories.</p>
  
  <p>My <code>.sbt/repositories</code> file looks like this:</p>
  
  <pre><code>[repositories]
    local
    my-ivy-proxy-releases: http://our-nexus/nexus/content/groups/sbt_ivy_group/, [organization]/[module]/(scala_[scalaVersion]/)(sbt_[sbtVersion]/)[revision]/[type]s/[artifact](-[classifier]).[ext]
    my-maven-proxy-releases: http://our-nexus/nexus/content/groups/public/
  </code></pre>
  
  <p>The URLs are fine, I can open them in my browser.</p>
  
  <p>Now, when I run <code>sbt</code> either from command line or from IntelliJ IDEA, it tries to download from repo.scala-sbt.org, repo.typesafe.com etc. even though I do not want it.</p>
  
  <p>How do I force SBT to only download from the repositories in the repositories file?</p>
  
  <p><strong>EDIT:</strong> It <em>does</em> download from our company nexus, but only after trying the "official" releases, which result in loads of "connection refused" because we are behind an HTTP proxy which slows dependency resolving down quite a lot.</p>
  
  <p><strong>EDIT 2:</strong> I tried to add <code>-Dsbt.override.build.repos=true</code> to the VM parameters of IDEA's SBT settings, but this does not seem to change anything.</p>