WARNING Not tested with the sbt
script from the Debian package, if you use it be sure to check the .sbtconfig
is correctly imported.
- Put
.sbtconfig
in $HOME/.sbtconfig - Put
credentials.sbt
in $HOME/.sbt/0.13/plugins/credentials.sbt - Put
.credentials
in $HOME/.ivy2/.credentials - Put
repositories
in $HOME/.sbt/repositories
On your Nexus instance, you need to create two "Repository Groups", one called ivy and one called maven. The ivy one should include these two repositories:
- http://repo.typesafe.com/typesafe/ivy-releases/
- http://repo.scala-sbt.org/scalasbt/sbt-plugin-releases/
The maven one should include at least the Maven Central repository, already configured in Nexus by default. You can add in this group any other repository you want, like the Aapche Snapshots repository or whatever.