Reputation: 3571
I've been trying to compile Apache spark with scala-2.11.1
(the latest version at the time). However, each time I try it ends up compiling everything to scala-2.10.*
. I don't understand why.
The official documentation suggests that we use maven for compilation after switching to 2.11 using script in the dev/
folder.
What if I wanted to use sbt instead?
Upvotes: 3
Views: 2233
Reputation: 9734
You need to enable scala-2.11
profile
>sbt -Dscala-2.11=true
sbt> compile
Upvotes: 7