twitter/finagle — Issue #71: Loading binaries with SBT 0.11.2 and Scala 2.9.1 Fails
Author: benjamin-bader
Created: 2012-03-06 08:27:39+00:00
State: open

I've created an empty SBT project that lists finagle as a library dependency, pulling from maven.twttr.com; `sbt compile` fails with the following abbreviated output:

[info] Loading project definition from /Users/ben/scala/test/project
[warn]	::::::::::::::::::::::::::::::::::::::::::::::
[warn]	:: UNRESOLVED DEPENDENCIES ::
[warn]	::::::::::::::::::::::::::::::::::::::::::::::
[warn]	:: com.codahale#jerkson_2.8.1;0.1.4: not found
[warn]	::::::::::::::::::::::::::::::::::::::::::::::
[error] {file:/Users/ben/scala/test/}default-c49c40/*:update: sbt.ResolveException: unresolved dependency: com.codahale#jerkson_2.8.1;0.1.4: not found
[error] Total time: 4 s, completed Mar 6, 2012 12:26:08 AM

It seems that finagle-exception hardcodes a dependency on jerkson_2.8.1 in the 2.9.1 repo, which cannot be resolved.

Though it doesn't appear in the above output, this also applies to thrift 0.5.0; I've worked around that with some hackery in libraryDependencies.