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

Stop bundling HTML source code in javadoc JARs

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.6.4
    • 2.9.0, 3.0.0-alpha2, 2.8.2
    • build
    • 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

        1. HADOOP-13688.001.patch
          1 kB
          Andrew Wang

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: