You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Apache Spark (JIRA)" <ji...@apache.org> on 2016/06/09 07:49:21 UTC

[jira] [Commented] (SPARK-15839) Maven doc JAR generation fails when JAVA_7_HOME is set

    [ https://issues.apache.org/jira/browse/SPARK-15839?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15322103#comment-15322103 ] 

Apache Spark commented on SPARK-15839:
--------------------------------------

User 'JoshRosen' has created a pull request for this issue:
https://github.com/apache/spark/pull/13573

> Maven doc JAR generation fails when JAVA_7_HOME is set
> ------------------------------------------------------
>
>                 Key: SPARK-15839
>                 URL: https://issues.apache.org/jira/browse/SPARK-15839
>             Project: Spark
>          Issue Type: Bug
>          Components: Build, Project Infra
>    Affects Versions: 2.0.0
>            Reporter: Josh Rosen
>            Assignee: Josh Rosen
>
> 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 scalac 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 I propose that we simply omit the -javabootclasspath option during Maven doc-jar generation.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org