We have a company Nexus, and our company is behind a restrictive proxy. How do I tell SBT to only use this Nexus server?
When I create an SBT project in IDEA, I get "error while importing sbt project". I the tried to add this line to my build.sbt
:
resolvers += "Company NEXUS" at "http://our.nexus.com/content/groups/public/"
But IDEA tells me it cannot resolve symbol +=
and when I try sbt compile
on the console I get tons of "connection refused" because it tries to connect to repo1.maven.org and oss.sonatype.org.
So, how do I configure this?