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

    https://github.com/apache/spark/pull/3342#discussion_r20536231
  
    --- 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")
    --- End diff --
    
    Yes, the profile `scala-2.10` is activated by the condition:
    
    ```
    <property><name>!scala-2.11</name></property>
    ```
    
    so Maven will turn it on if the property `scala-2.11` is null or empty.


---
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