I have the following scala file:
object SGuavaTryout {
com.google.common.cache.CacheBuilder.newBuilder()
}
I compile with guava-11.0.2.ja
Sean Parsons answered your first question, by explaining why Scala requires the JSR 305 dependency.
As to the "official" JSR 305 implementation to use with Guava, I'd use the one they declare in their pom.xml:
com.google.code.findbugs
jsr305
1.3.9
If you were using Maven, I think it would add the dependency to the classpath automatically.
Note: you can download the jar directly from the Maven Central repository.