split library between Java and Scala 2.9 / 2.10