Skip to content

Instantly share code, notes, and snippets.

@amimimor
Created May 15, 2012 07:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save amimimor/238d74b081d9f2c6e5f1 to your computer and use it in GitHub Desktop.
Save amimimor/238d74b081d9f2c6e5f1 to your computer and use it in GitHub Desktop.
Scalding sbt build file, to be used when running a Mapreduce project with cdh3u2
import AssemblyKeys._
name := "scalding"
version := "0.5.3"
organization := "com.twitter"
scalaVersion := "2.8.1"
resolvers += "Concurrent Maven Repo" at "http://conjars.org/repo"
libraryDependencies += "cascading" % "cascading-core" % "2.0.0-wip-291"
libraryDependencies += "cascading" % "cascading-local" % "2.0.0-wip-291"
libraryDependencies += "cascading" % "cascading-hadoop" % "2.0.0-wip-291"
libraryDependencies += "cascading.kryo" % "cascading.kryo" % "0.3.1"
libraryDependencies += "com.twitter" % "meat-locker" % "0.2.1"
libraryDependencies += "com.twitter" % "maple" % "0.1.7"
libraryDependencies += "commons-lang" % "commons-lang" % "2.4"
libraryDependencies += "org.scala-tools.testing" % "specs_2.8.1" % "1.6.6" % "test"
parallelExecution in Test := false
seq(assemblySettings: _*)
// Janino includes a broken signature, and is not needed:
excludedJars in assembly <<= (fullClasspath in assembly) map { cp =>
cp filter {Set("janino-2.5.16.jar", "hadoop-core-0.20.2.jar" ) contains _.data.getName }
}
@amimimor
Copy link
Author

To use with scala-2.9.1 run with:

sbt -29 update
sbt -29 assembly

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment