[
https://issues.apache.org/jira/browse/SPARK-1812?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Patrick Wendell updated SPARK-1812:
-----------------------------------
Description:
Since Scala 2.10/2.11 are source compatible, we should be able to cross build
for both versions. From what I understand there are basically three things we
need to figure out:
1. Have a two versions of our dependency graph, one that uses 2.11 dependencies
and the other that uses 2.10 dependencies.
2. Figure out how to publish different poms for 2.10 and 2.11.
I think (1) can be accomplished by having a scala 2.11 profile. (2) isn't
really well supported by Maven since published pom's aren't generated
dynamically. But we can probably script around it to make it work. I've done
some initial sanity checks with a simple build here:
https://github.com/pwendell/scala-maven-crossbuild
was:We should cross-build for this in addition to 2.10.
> Support cross-building with Scala 2.11
> --------------------------------------
>
> Key: SPARK-1812
> URL: https://issues.apache.org/jira/browse/SPARK-1812
> Project: Spark
> Issue Type: New Feature
> Components: Build, Spark Core
> Reporter: Matei Zaharia
> Assignee: Prashant Sharma
>
> Since Scala 2.10/2.11 are source compatible, we should be able to cross build
> for both versions. From what I understand there are basically three things we
> need to figure out:
> 1. Have a two versions of our dependency graph, one that uses 2.11
> dependencies and the other that uses 2.10 dependencies.
> 2. Figure out how to publish different poms for 2.10 and 2.11.
> I think (1) can be accomplished by having a scala 2.11 profile. (2) isn't
> really well supported by Maven since published pom's aren't generated
> dynamically. But we can probably script around it to make it work. I've done
> some initial sanity checks with a simple build here:
> https://github.com/pwendell/scala-maven-crossbuild
--
This message was sent by Atlassian JIRA
(v6.2#6252)