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

Fix javadoc jars to not contain entire target directory

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.0.0-alpha
    • Fix Version/s: 3.0.0-alpha2
    • Component/s: build
    • Labels:
      None
    • Environment:

      N/A

    • Target Version/s:
    • Hadoop Flags:
      Reviewed
    • Release Note:
      Hide
      Hadoop's javadoc jars should be significantly smaller, and contain only javadoc.

      As a related cleanup, the dummy hadoop-dist-* jars are no longer generated as part of the build.
      Show
      Hadoop's javadoc jars should be significantly smaller, and contain only javadoc. As a related cleanup, the dummy hadoop-dist-* jars are no longer generated as part of the build.

      Description

      The javadoc jars contain the contents of the target directory - which includes classes and all sorts of binary files that it shouldn't.

      Sometimes the resulting javadoc jar is 10X bigger than it should be.

      The fix is to reconfigure maven to use "api" as it's destDir for javadoc generation.

      I have a patch/diff incoming.

        Attachments

        1. site-redo.tar
          2.63 MB
          EJ Ciramella
        2. HADOOP-8500.patch
          0.4 kB
          EJ Ciramella
        3. HADOOP-8500.003.patch
          2 kB
          Andrew Wang
        4. HADOOP-8500.002.patch
          2 kB
          Andrew Wang
        5. HADOOP-8500.001.patch
          0.5 kB
          Andrew Wang

          Activity

            People

            • Assignee:
              andrew.wang Andrew Wang
              Reporter:
              eciramella EJ Ciramella
            • Votes:
              0 Vote for this issue
              Watchers:
              11 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 24h
                24h
                Remaining:
                Remaining Estimate - 24h
                24h
                Logged:
                Time Spent - Not Specified
                Not Specified