Github user sryza commented on a diff in the pull request:

    https://github.com/apache/spark/pull/3342#discussion_r20523647
  
    --- Diff: project/SparkBuild.scala ---
    @@ -101,14 +101,10 @@ object SparkBuild extends PomBuild {
           v.split("(\\s+|,)").filterNot(_.isEmpty).map(_.trim.replaceAll("-P", 
"")).toSeq
         }
     
    -    if (profiles.exists(_.contains("scala-"))) {
    -      profiles
    -    } else if (System.getProperty("scala-2.11") != null) {
    -      profiles ++ Seq("scala-2.11")
    -    } else {
    -      println("Enabled default scala profile")
    -      profiles ++ Seq("scala-2.10")
    +    if (System.getProperty("scala-2.11") != null && 
System.getProperty("scala-2.11") == "") {
    --- End diff --
    
    Something needs "scala-2.11=true", not just "scala-2.11"?  Also, does that 
second condition not include the first?


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to