diff options
author | Kousuke Saruta <sarutak@oss.nttdata.co.jp> | 2016-01-10 23:33:57 -0800 |
---|---|---|
committer | Reynold Xin <rxin@databricks.com> | 2016-01-10 23:33:57 -0800 |
commit | 008a55828512056313da2626fd378e8aa1534790 (patch) | |
tree | 4e51b4fc3da33b18c901a4e6ba8005dce30264be /project | |
parent | 6439a82503e900ae2e5c3cda5d10ac20dfd6e53f (diff) | |
download | spark-008a55828512056313da2626fd378e8aa1534790.tar.gz spark-008a55828512056313da2626fd378e8aa1534790.tar.bz2 spark-008a55828512056313da2626fd378e8aa1534790.zip |
[SPARK-4628][BUILD] Add a resolver to MiMaBuild.scala for mqttv3(1.0.1).
#10659 removed the repository `https://repo.eclipse.org/content/repositories/paho-releases` but it's needed by MiMa because `spark-streaming-mqtt(1.6.0)` depends on `mqttv3(1.0.1)` and it is provided by the removed repository and maven-central provide only `mqttv3(1.0.2)` for now.
Otherwise, if `mqttv3(1.0.1)` is absent from the local repository, dev/mima should fail.
JoshRosen Do you have any other better idea?
Author: Kousuke Saruta <sarutak@oss.nttdata.co.jp>
Closes #10688 from sarutak/SPARK-4628-followup.
Diffstat (limited to 'project')
-rw-r--r-- | project/MimaBuild.scala | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/project/MimaBuild.scala b/project/MimaBuild.scala index 9ba9f8286f..41856443af 100644 --- a/project/MimaBuild.scala +++ b/project/MimaBuild.scala @@ -91,11 +91,16 @@ object MimaBuild { def mimaSettings(sparkHome: File, projectRef: ProjectRef) = { val organization = "org.apache.spark" + // The resolvers setting for MQTT Repository is needed for mqttv3(1.0.1) + // because spark-streaming-mqtt(1.6.0) depends on it. + // Remove the setting on updating previousSparkVersion. val previousSparkVersion = "1.6.0" val fullId = "spark-" + projectRef.project + "_2.10" mimaDefaultSettings ++ Seq(previousArtifact := Some(organization % fullId % previousSparkVersion), - binaryIssueFilters ++= ignoredABIProblems(sparkHome, version.value)) + binaryIssueFilters ++= ignoredABIProblems(sparkHome, version.value), + sbt.Keys.resolvers += + "MQTT Repository" at "https://repo.eclipse.org/content/repositories/paho-releases") } } |