[ https://issues.apache.org/jira/browse/KAFKA-939?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13681596#comment-13681596 ]
Frank Grimes commented on KAFKA-939: ------------------------------------ diff --git a/project/Build.scala b/project/Build.scala index f177215..ecc74d4 100644 --- a/project/Build.scala +++ b/project/Build.scala @@ -34,7 +34,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 + "-" + v - 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", @@ -57,7 +58,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", > ./sbt publish-local fails due to invalid javac flags passed to javadoc > ---------------------------------------------------------------------- > > Key: KAFKA-939 > URL: https://issues.apache.org/jira/browse/KAFKA-939 > Project: Kafka > Issue Type: Bug > Affects Versions: 0.8 > Reporter: Frank Grimes > > Fixed by applying suggestion found here: > https://groups.google.com/forum/?fromgroups#!topic/simple-build-tool/I75AODwFlH0 -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira