From 59c7131dff345d7ac314a5a75d21b8c855aa874e Mon Sep 17 00:00:00 2001 From: Ismael Juma <ismael@juma.me.uk> Date: Tue, 2 Aug 2011 10:26:17 +0100 Subject: [PATCH] Add note about why we can't enable -deprecation switch. --- project/SparkBuild.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/project/SparkBuild.scala b/project/SparkBuild.scala index 858751618e..fc14e40d38 100644 --- a/project/SparkBuild.scala +++ b/project/SparkBuild.scala @@ -17,7 +17,7 @@ object SparkBuild extends Build { organization := "org.spark-project", version := "0.4-SNAPSHOT", scalaVersion := "2.9.0-1", - scalacOptions := Seq(/*"-deprecation",*/ "-unchecked"), // TODO Enable -deprecation and fix all warnings + scalacOptions := Seq(/*"-deprecation",*/ "-unchecked"), // -deprecation is too noisy due to usage of old Hadoop API, enable it once that's no longer an issue unmanagedJars in Compile <<= baseDirectory map { base => (base ** "*.jar").classpath }, retrieveManaged := true, transitiveClassifiers in Scope.GlobalScope := Seq("sources"), -- GitLab