Note that there are some explanatory texts on larger screens.

plurals
  1. POSBT git dependency produces error if scalaVersions different
    text
    copied!<p>So I'm using Play 2 in Scala, setting up some dependencies, and I think I'm tickling a bug in SBT. Anybody else seen anything like this?</p> <p>I try to add <a href="https://github.com/tristanjuricek/knockoff" rel="nofollow">knockoff</a> in Build.scala <a href="https://github.com/harrah/xsbt/wiki/Full-Configuration" rel="nofollow">as directed,</a> thus:</p> <pre><code>val knockoff = RootProject(uri("git://github.com/tristanjuricek/knockoff.git")) val main = PlayProject(appName, appVersion, appDependencies, mainLang = SCALA) .dependsOn(knockoff) </code></pre> <p>and then run it. For some reason, it goes looking for source and javadoc jars. (Why?)</p> <pre><code>[warn] [NOT FOUND ] com.tristanhunt#knockoff_2.9.1;0.8.0-16!knockoff_2.9.1.jar(src) (88ms) [warn] ==== Typesafe Releases Repository: tried [warn] http://repo.typesafe.com/typesafe/releases/com/tristanhunt/knockoff_2.9.1/0.8.0-16/knockoff_2.9.1-0.8.0-16-sources.jar [warn] [NOT FOUND ] com.tristanhunt#knockoff_2.9.1;0.8.0-16!knockoff_2.9.1.jar(doc) (86ms) [warn] ==== Typesafe Releases Repository: tried [warn] http://repo.typesafe.com/typesafe/releases/com/tristanhunt/knockoff_2.9.1/0.8.0-16/knockoff_2.9.1-0.8.0-16-javadoc.jar [warn] :::::::::::::::::::::::::::::::::::::::::::::: [warn] :: FAILED DOWNLOADS :: [warn] :: ^ see resolution messages for details ^ :: [warn] :::::::::::::::::::::::::::::::::::::::::::::: [warn] :: com.tristanhunt#knockoff_2.9.1;0.8.0-16!knockoff_2.9.1.jar(src) [warn] :: com.tristanhunt#knockoff_2.9.1;0.8.0-16!knockoff_2.9.1.jar(doc) [warn] :::::::::::::::::::::::::::::::::::::::::::::: </code></pre> <p>These missing jars shouldn't be fatal, but they are:</p> <pre><code>[error] {file:/home/joel/TEST2/bar/}bar/*:update: sbt.ResolveException: download failed: com.tristanhunt#knockoff_2.9.1;0.8.0-16!knockoff_2.9.1.jar(src) [error] download failed: com.tristanhunt#knockoff_2.9.1;0.8.0-16!knockoff_2.9.1.jar(doc) [error] java.util.NoSuchElementException: Either.right.value on Left [error] Use 'last' for the full log. </code></pre> <p>Here's some of the stack trace:</p> <pre><code>[error] download failed: com.tristanhunt#knockoff_2.9.1;0.8.0-16!knockoff_2.9.1.jar(doc) java.util.NoSuchElementException: Either.right.value on Left at scala.Either$RightProjection.get(Either.scala:229) at sbt.PlayCommands$$anonfun$56.apply(PlayCommands.scala:606) at sbt.PlayCommands$$anonfun$56.apply(PlayCommands.scala:593) at sbt.Command$$anonfun$sbt$Command$$apply1$1$$anonfun$apply$6.apply(Command.scala:74) at sbt.Command$.process(Command.scala:92) </code></pre> <p>Other projects as dependencies work fine, but not this one.</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload