HBASE-20149 Purge dev javadoc from bin tarball (or make a separate tarball of 
javadoc)

Instead point back to the website where version-specific dev apis are
hosted.


Project: http://git-wip-us.apache.org/repos/asf/hbase/repo
Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/5d85e7d7
Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/5d85e7d7
Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/5d85e7d7

Branch: refs/heads/branch-2.0
Commit: 5d85e7d78c27b92c253039349c966a6118c7f237
Parents: 1f01327
Author: Michael Stack <st...@apache.org>
Authored: Fri Apr 6 14:25:07 2018 -0700
Committer: Michael Stack <st...@apache.org>
Committed: Tue Apr 10 09:56:03 2018 -0700

----------------------------------------------------------------------
 hbase-assembly/src/main/assembly/components.xml | 5 +++++
 src/main/site/site.xml                          | 4 ++--
 2 files changed, 7 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hbase/blob/5d85e7d7/hbase-assembly/src/main/assembly/components.xml
----------------------------------------------------------------------
diff --git a/hbase-assembly/src/main/assembly/components.xml 
b/hbase-assembly/src/main/assembly/components.xml
index fe57078..2eb16e7 100644
--- a/hbase-assembly/src/main/assembly/components.xml
+++ b/hbase-assembly/src/main/assembly/components.xml
@@ -26,6 +26,11 @@
     <fileSet>
       <directory>${project.basedir}/../target/site</directory>
       <outputDirectory>docs</outputDirectory>
+      <!--Don't include dev apidocs. They bloat the tgz by almost 50%.
+           See HBASE-20149-->
+      <excludes>
+        <exclude>**/*devapidocs/**</exclude>
+      </excludes>
     </fileSet>
     <!-- Include top level text files-->
     <fileSet>

http://git-wip-us.apache.org/repos/asf/hbase/blob/5d85e7d7/src/main/site/site.xml
----------------------------------------------------------------------
diff --git a/src/main/site/site.xml b/src/main/site/site.xml
index 400ae8c..f036702 100644
--- a/src/main/site/site.xml
+++ b/src/main/site/site.xml
@@ -100,8 +100,8 @@
       <item name="Getting Started" href="book.html#quickstart" target="_blank" 
/>
       <item name="User API" href="apidocs/index.html" target="_blank" />
       <item name="User API (Test)" href="testapidocs/index.html" 
target="_blank" />
-      <item name="Developer API" href="devapidocs/index.html" target="_blank" 
/>
-      <item name="Developer API (Test)" href="testdevapidocs/index.html" 
target="_blank" />
+      <item name="Developer API" 
href="https://hbase.apache.org/2.0/devapidocs/index.html"; target="_blank" />
+      <item name="Developer API (Test)" 
href="https://hbase.apache.org/2.0/testdevapidocs/index.html"; target="_blank" />
       <item name="中文参考指南(单页)" 
href="http://abloz.com/hbase/book.html"; target="_blank" />
       <item name="FAQ" href="book.html#faq" target="_blank" />
       <item name="Videos/Presentations" href="book.html#other.info" 
target="_blank" />

Reply via email to