kafka-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From joest...@apache.org
Subject git commit: KAFKA-939 sbt publish-local fails due to invalid javac flags passed to javadoc patch by Frank Grimes reviewed by Joe Stein
Date Fri, 27 Sep 2013 03:01:19 GMT
Updated Branches:
  refs/heads/0.8 bb7b45cd5 -> 56ada9576


KAFKA-939 sbt publish-local fails due to invalid javac flags passed to javadoc patch by Frank
Grimes reviewed by Joe Stein


Project: http://git-wip-us.apache.org/repos/asf/kafka/repo
Commit: http://git-wip-us.apache.org/repos/asf/kafka/commit/56ada957
Tree: http://git-wip-us.apache.org/repos/asf/kafka/tree/56ada957
Diff: http://git-wip-us.apache.org/repos/asf/kafka/diff/56ada957

Branch: refs/heads/0.8
Commit: 56ada9576204b754e792a3d3c9063908f4f24b4d
Parents: bb7b45c
Author: Joe Stein <joe.stein@stealth.ly>
Authored: Thu Sep 26 23:01:09 2013 -0400
Committer: Joe Stein <joe.stein@stealth.ly>
Committed: Thu Sep 26 23:01:09 2013 -0400

----------------------------------------------------------------------
 project/Build.scala | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/kafka/blob/56ada957/project/Build.scala
----------------------------------------------------------------------
diff --git a/project/Build.scala b/project/Build.scala
index 2cdbc9e..33bb76f 100644
--- a/project/Build.scala
+++ b/project/Build.scala
@@ -50,7 +50,8 @@ object KafkaBuild extends Build {
     buildNumber := System.getProperty("build.number", ""),
     version <<= (buildNumber, version)  { (build, version)  => if (build == "")
version else version + "+" + build},
     releaseName <<= (name, version, scalaVersion) {(name, version, scalaVersion) =>
name + "_" + scalaVersion + "-" + version},
-    javacOptions ++= Seq("-Xlint:unchecked", "-source", "1.5"),
+    javacOptions in compile ++= Seq("-Xlint:unchecked", "-source", "1.5"),
+    javacOptions in doc ++= Seq("-source", "1.5"),
     parallelExecution in Test := false, // Prevent tests from overrunning each other
     libraryDependencies ++= Seq(
       "log4j"                 % "log4j"        % "1.2.15" exclude("javax.jms", "jms"),
@@ -73,7 +74,7 @@ object KafkaBuild extends Build {
   )
 
   val hadoopSettings = Seq(
-    javacOptions ++= Seq("-Xlint:deprecation"),
+    javacOptions in compile ++= Seq("-Xlint:deprecation"),
     libraryDependencies ++= Seq(
       "org.apache.avro"      % "avro"               % "1.4.0",
       "org.apache.pig"       % "pig"                % "0.8.0",


Mime
View raw message