You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Patrick Wendell (JIRA)" <ji...@apache.org> on 2014/11/12 06:38:33 UTC

[jira] [Resolved] (SPARK-1812) Support cross-building with Scala 2.11

     [ https://issues.apache.org/jira/browse/SPARK-1812?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Patrick Wendell resolved SPARK-1812.
------------------------------------
       Resolution: Fixed
    Fix Version/s: 1.2.0

The initial version of this patch has been merged. There are some follow-up's that I am going to make separate JIRA's for.

> 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
>             Fix For: 1.2.0
>
>
> 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.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org