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

Maven doc JAR generation fails when JAVA_7_HOME is set

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.0.0
    • Fix Version/s: 2.0.0
    • Component/s: Build, Project Infra
    • Labels:
      None
    • Target Version/s:

      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

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

                Dates

                • Created:
                  Updated:
                  Resolved: