Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-15839

Maven doc JAR generation fails when JAVA_7_HOME is set

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.0.0
    • 2.0.0
    • Build, Project Infra
    • None

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              joshrosen Josh Rosen
              joshrosen Josh Rosen
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: