You can modify project/SparkBuild.scala and build Spark with sbt instead of 
Maven.


On Jun 5, 2014, at 12:36 PM, Meisam Fathi <meisam.fa...@gmail.com> wrote:

> Hi community,
> 
> How should I change sbt to compile spark core with a different version
> of Scala? I see maven pom files define dependencies to scala 2.10.4. I
> need to override/ignore the maven dependencies and use Scala
> virtualized, which needs these lines in a build.sbt file:
> 
> scalaOrganization := "org.scala-lang.virtualized"
> 
> scalaVersion := "2.10.1"
> 
> libraryDependencies += "EPFL" %% "lms" % "0.3-SNAPSHOT"
> 
> scalacOptions += "-Yvirtualize"
> 
> 
> Thanks,
> Meisam

Reply via email to