I'm having difficulty configuring SBT to use my local maven repositories. SBT is configured to use a proxy for external repositories which handles NTLM authentication for us, and this works OK. I've attempted this:
resolvers ++= Seq("Local Maven Repository" at "file:///C:/java/apache-maven-3.0.3/repository",
"SIS Nexus Repository" at "http://linuxbuildserver-dev.sis.tv:8081/nexus/content/repositories/snapshots/",
"SIS 3rd Party Repository" at "http://linuxbuildserver-dev.sis.tv:8081/nexus/content/repositories/thirdparty/"
)
In order to access our local Maven repo and my own private cache; and the SBT resolvers task lists them OK. However, on a compile, the resources I need are not accessed and the trace only mentions that public repos have been contacted.
Any ideas?
Found the answer eventually (somewhat unintuitively) - if I replace resolvers with externalResolvers then I get the compile to work.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With