Skip to content

Conversation

@JoshRosen
Copy link
Contributor

Spark SQL's POM hardcodes a dependency on spark-sketch_2.11, which causes Scala 2.10 builds to include the _2.11 dependency. This is harmless since spark-sketch is a pure-Java module (see #12334 for a discussion of dropping the Scala version suffixes from these modules' artifactIds), but it's confusing to people looking at the published POMs.

This patch fixes this by using ${scala.binary.version} to substitute the correct suffix, and also adds a set of Maven Enforcer rules to ensure that _2.11 artifacts are not used in 2.10 builds (and vice-versa).

/cc @ahirreddy, who spotted this issue.

@rxin
Copy link
Contributor

rxin commented Apr 21, 2016

LGTM.

@SparkQA
Copy link

SparkQA commented Apr 21, 2016

Test build #56495 has finished for PR 12563 at commit 9dad944.

  • This patch passes all tests.
  • This patch merges cleanly.
  • This patch adds no public classes.

@rxin
Copy link
Contributor

rxin commented Apr 21, 2016

Merging in master.

@asfgit asfgit closed this in 649335d Apr 21, 2016
@JoshRosen JoshRosen deleted the fix-sketch-scala-version branch August 29, 2016 19:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants