I'm using ammonite (http://ammonite.io/) to write Scala scripts. It allows you to fetch remote dependencies via this kind of text:
import $ivy.`org.scalaz::scalaz-core:7.2.7`, scalaz._, Scalaz._
How do you use a local maven repo (sitting in e.g. ~/.m2), though?