From 89e67d6667d5f8be9c6fb6c120fbcd350ae2950d Mon Sep 17 00:00:00 2001 From: cody koeninger Date: Wed, 11 May 2016 12:15:41 -0700 Subject: [SPARK-15085][STREAMING][KAFKA] Rename streaming-kafka artifact ## What changes were proposed in this pull request? Renaming the streaming-kafka artifact to include kafka version, in anticipation of needing a different artifact for later kafka versions ## How was this patch tested? Unit tests Author: cody koeninger Closes #12946 from koeninger/SPARK-15085. --- project/MimaBuild.scala | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'project/MimaBuild.scala') diff --git a/project/MimaBuild.scala b/project/MimaBuild.scala index 3dc1ceacde..2a989dd4f7 100644 --- a/project/MimaBuild.scala +++ b/project/MimaBuild.scala @@ -89,7 +89,15 @@ object MimaBuild { def mimaSettings(sparkHome: File, projectRef: ProjectRef) = { val organization = "org.apache.spark" val previousSparkVersion = "1.6.0" - val fullId = "spark-" + projectRef.project + "_2.11" + // This check can be removed post-2.0 + val project = if (previousSparkVersion == "1.6.0" && + projectRef.project == "streaming-kafka-0-8" + ) { + "streaming-kafka" + } else { + projectRef.project + } + val fullId = "spark-" + project + "_2.11" mimaDefaultSettings ++ Seq(previousArtifact := Some(organization % fullId % previousSparkVersion), binaryIssueFilters ++= ignoredABIProblems(sparkHome, version.value)) -- cgit v1.2.3