The property "scala-2.11" triggers the profile "scala-2.11" -- and additionally disables the scala-2.10 profile, so that's the way to do it. But yes, you also need to run the script before-hand to set up the build for Scala 2.11 as well.
On Mon, Aug 24, 2015 at 8:48 PM, Lanny Ripple <la...@spotright.com> wrote: > Hello, > > The instructions for building spark against scala-2.11 indicate using > -Dspark-2.11. When I look in the pom.xml I find a profile named > 'spark-2.11' but nothing that would indicate I should set a property. The > sbt build seems to need the -Dscala-2.11 property set. Finally build/mvn > does a simple grep of scala.version (which doesn't change after running > dev/change-version-to-2.11.sh) so the build seems to be grabbing the 2.10.4 > scala library. > > Anyone know (from having done it and used it in production) if the build > instructions for spark-1.4.1 against Scala-2.11 are correct? > > Thanks. > -Lanny --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@spark.apache.org For additional commands, e-mail: user-h...@spark.apache.org