We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4eef52b commit 14d86e8Copy full SHA for 14d86e8
project/SparkBuild.scala
@@ -102,6 +102,9 @@ object SparkBuild extends PomBuild {
102
}
103
104
if (System.getProperty("scala-2.11") == "") {
105
+ // To activate scala-2.11 profile, replace empty property value to non-empty value
106
+ // in the same way as Maven which handles -Dname as -Dname=true before executes build process.
107
+ // see: https://github.com/apache/maven/blob/maven-3.0.4/maven-embedder/src/main/java/org/apache/maven/cli/MavenCli.java#L1082
108
System.setProperty("scala-2.11", "true")
109
110
profiles
0 commit comments