Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-13688

Stop bundling HTML source code in javadoc JARs

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.6.4
    • Fix Version/s: 2.9.0, 3.0.0-alpha2, 2.8.2
    • Component/s: build
    • Labels:
      None

      Description

      We generate source code with line numbers for inclusion in the javadoc JARs. Given that there's github and other online viewers, this doesn't seem so useful these days.

      Disabling the "linkSource" option saves us 40MB for the hadoop-common javadoc jar:

      -rw-r--r-- 1 andrew andrew 98M Oct  5 14:44 hadoop-common-3.0.0-alpha2-SNAPSHOT-javadoc.jar
      -rw-r--r-- 1 andrew andrew 58M Oct  5 15:00 ./hadoop-common-project/hadoop-common/target/hadoop-common-3.0.0-alpha2-SNAPSHOT-javadoc.jar
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                andrew.wang Andrew Wang
                Reporter:
                andrew.wang Andrew Wang
              • Votes:
                1 Vote for this issue
                Watchers:
                7 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: