Skip to content

Instantly share code, notes, and snippets.

@daithiocrualaoich
Created December 19, 2012 10:17
Show Gist options
  • Save daithiocrualaoich/4335741 to your computer and use it in GitHub Desktop.
Save daithiocrualaoich/4335741 to your computer and use it in GitHub Desktop.
Scoobi `build.sbt` with the Avro snapshot fixed.
name := "Scoobi"
version := "1-SNAPSHOT"
scalaVersion := "2.9.2"
scalacOptions ++= Seq("-Ydependent-method-types", "-deprecation")
libraryDependencies += "com.nicta" %% "scoobi" % "0.6.0-cdh3-RC2"
// Fix the mess with the Scoobi dependency on Avro snapshot.
libraryDependencies ++= Seq(
"org.apache.avro" % "avro" % "1.7.3",
"org.apache.avro" % "avro-mapred" % "1.7.3"
)
ivyXML :=
<dependencies>
<dependency org="com.nicta" name="scoobi_2.9.2" rev="0.6.0-cdh3-RC2">
<exclude org="org.apache.avro" name="avro"/><!-- Because Scoobi is looking for the SNAPSHOT. -->
</dependency>
</dependencies>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment