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

Fix javadoc jars to not contain entire target directory

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 2.0.0-alpha
    • 3.0.0-alpha2
    • build
    • None
    • N/A

    • Reviewed
    • 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. HADOOP-8500.003.patch
          2 kB
          Andrew Wang
        2. HADOOP-8500.002.patch
          2 kB
          Andrew Wang
        3. HADOOP-8500.001.patch
          0.5 kB
          Andrew Wang
        4. site-redo.tar
          2.63 MB
          EJ Ciramella
        5. HADOOP-8500.patch
          0.4 kB
          EJ Ciramella

        Activity

          People

            andrew.wang Andrew Wang
            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