Inherit from NotNull to have the type system check that no reference to the type can be null. To ensure that a specific reference to an object cannot be null declare it as ‘Foo with NotNull’. Doesn’t work with Java types.
Link time dependencies to stuff is different between Scala and Java: joda-time uses some annotations defined in joda-convert on some constructors in DateTime but joda-convert is marked as an optional dependency in joda-time’s POM.
use EclipseKeys.withSource := true to make sbteclipse attach source jars to the eclipse classpath.
resolvers += “Local Maven Repository” at “file://”+Path.userHome+”/.m2/repository” in build.sbt to leverage local maven repository.
-- Matthias Schütz 20 May 2012