I'm running sbt 0.13.0 and have a project with sbt-assembly via:
addSbtPlugin("com.eed3si9n" % "sbt-assembly" % "0.11.2")
Upon executing sbt assembly
I get the following message:
[info] Resolving com.eed3si9n#sbt-assembly;0.11.2 ...
[warn] module not found: com.eed3si9n#sbt-assembly;0.11.2
[warn] ==== typesafe-ivy-releases: tried
[warn] http://repo.typesafe.com/typesafe/ivy-releases/com.eed3si9n/sbt-assembly/scala_2.10/sbt_0.13/0.11.2/ivys/ivy.xml
[warn] ==== sbt-plugin-releases: tried
[warn] http://repo.scala-sbt.org/scalasbt/sbt-plugin-releases/com.eed3si9n/sbt-assembly/scala_2.10/sbt_0.13/0.11.2/ivys/ivy.xml
[warn] ==== local: tried
[warn] /Users/szalwinb/.ivy2/local/com.eed3si9n/sbt-assembly/scala_2.10/sbt_0.13/0.11.2/ivys/ivy.xml
[warn] ==== public: tried
[warn] http://repo1.maven.org/maven2/com/eed3si9n/sbt-assembly_2.10_0.13/0.11.2/sbt-assembly-0.11.2.pom
The typesafe repo produces a 404 as does the maven repo. It doesn't exist locally (obviously) which brings me to the last option, the scala-sbt repo. Sadly, my company's network nanny thinks scala-sbt repo is a file sharing site and blocks access. To get around this, I currently drop off the company network, do the build and then hop back on.
Is there another repo that houses sbt-assembly? Or is there another version of sbt-assembly that is available on maven or typesafe repos that I can use?
The standard repository for plugins (http://repo.scala-sbt.org) basically just mirrors the sbt/sbt-plugins-releases
repo from Bintray, which is where people usually publish their sbt plugins. See the sbt documentation: Bintray for plugins.
So you should be able to add that repo directly:
resolvers += "Bintray sbt plugin releases"
at "http://dl.bintray.com/sbt/sbt-plugin-releases/"
addSbtPlugin("com.eed3si9n" % "sbt-assembly" % "0.11.2")
Typesafe repos were migrated to Bintray - https://www.typesafe.com/blog/migrating-repos-to-bintray
Try adding resolver in your plugins.sbt:
resolvers += Resolver.url("bintray-sbt-plugins", url("http://dl.bintray.com/sbt/sbt-plugin-releases"))(Resolver.ivyStylePatterns)
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