You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spark.apache.org by rx...@apache.org on 2016/01/11 08:34:00 UTC
spark git commit: [SPARK-4628][BUILD] Add a resolver to
MiMaBuild.scala for mqttv3(1.0.1).
Repository: spark
Updated Branches:
refs/heads/master 6439a8250 -> 008a55828
[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 <sa...@oss.nttdata.co.jp>
Closes #10688 from sarutak/SPARK-4628-followup.
Project: http://git-wip-us.apache.org/repos/asf/spark/repo
Commit: http://git-wip-us.apache.org/repos/asf/spark/commit/008a5582
Tree: http://git-wip-us.apache.org/repos/asf/spark/tree/008a5582
Diff: http://git-wip-us.apache.org/repos/asf/spark/diff/008a5582
Branch: refs/heads/master
Commit: 008a55828512056313da2626fd378e8aa1534790
Parents: 6439a82
Author: Kousuke Saruta <sa...@oss.nttdata.co.jp>
Authored: Sun Jan 10 23:33:57 2016 -0800
Committer: Reynold Xin <rx...@databricks.com>
Committed: Sun Jan 10 23:33:57 2016 -0800
----------------------------------------------------------------------
project/MimaBuild.scala | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/spark/blob/008a5582/project/MimaBuild.scala
----------------------------------------------------------------------
diff --git a/project/MimaBuild.scala b/project/MimaBuild.scala
index 9ba9f82..4185644 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")
}
}
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@spark.apache.org
For additional commands, e-mail: commits-help@spark.apache.org