aboutsummaryrefslogtreecommitdiff
path: root/mllib-local
diff options
context:
space:
mode:
authorJosh Rosen <joshrosen@databricks.com>2016-06-09 12:32:29 -0700
committerYin Huai <yhuai@databricks.com>2016-06-09 12:32:29 -0700
commit6cb71f4733a920d916b91c66bb2a508a21883b16 (patch)
treea46850158b29fe0baf7ea4bb8f2412630ecfc43e /mllib-local
parentf74b77713e17960dddb7459eabfdc19f08f4024b (diff)
downloadspark-6cb71f4733a920d916b91c66bb2a508a21883b16.tar.gz
spark-6cb71f4733a920d916b91c66bb2a508a21883b16.tar.bz2
spark-6cb71f4733a920d916b91c66bb2a508a21883b16.zip
[SPARK-15839] Fix Maven doc-jar generation when JAVA_7_HOME is set
## What changes were proposed in this pull request? It looks like the nightly Maven snapshots broke after we set `JAVA_7_HOME` in the build: https://amplab.cs.berkeley.edu/jenkins/view/Spark%20Packaging/job/spark-master-maven-snapshots/1573/. It seems that passing `-javabootclasspath` to ScalaDoc using scala-maven-plugin ends up preventing the Scala library classes from being added to scalac's internal class path, causing compilation errors while building doc-jars. There might be a principled fix to this inside of the scala-maven-plugin itself, but for now this patch configures the build to omit the `-javabootclasspath` option during Maven doc-jar generation. ## How was this patch tested? Tested manually with `build/mvn clean install -DskipTests=true` when `JAVA_7_HOME` was set. Also manually inspected the effective POM diff to verify that the final POM changes were scoped correctly: https://gist.github.com/JoshRosen/f889d1c236fad14fa25ac4be01654653 /cc vanzin and yhuai for review. Author: Josh Rosen <joshrosen@databricks.com> Closes #13573 from JoshRosen/SPARK-15839.
Diffstat (limited to 'mllib-local')
0 files changed, 0 insertions, 0 deletions