hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From st...@apache.org
Subject svn commit: r1245827 - in /hbase/trunk: pom.xml src/docbkx/developer.xml
Date Sat, 18 Feb 2012 01:07:13 GMT
Author: stack
Date: Sat Feb 18 01:07:13 2012
New Revision: 1245827

URL: http://svn.apache.org/viewvc?rev=1245827&view=rev
Log:
HBASE-5294 Make sure javadoc is included in tarball bundle when we release

Modified:
    hbase/trunk/pom.xml
    hbase/trunk/src/docbkx/developer.xml

Modified: hbase/trunk/pom.xml
URL: http://svn.apache.org/viewvc/hbase/trunk/pom.xml?rev=1245827&r1=1245826&r2=1245827&view=diff
==============================================================================
--- hbase/trunk/pom.xml (original)
+++ hbase/trunk/pom.xml Sat Feb 18 01:07:13 2012
@@ -1329,6 +1329,21 @@
               </execution>
             </executions>
           </plugin>
+	  <plugin>
+            <artifactId>maven-javadoc-plugin</artifactId>
+            <version>2.6.1</version>
+            <configuration>
+              <docfilessubdirs>true</docfilessubdirs>
+            </configuration>
+            <executions>
+              <execution>
+                <phase>prepare-package</phase>
+                <goals>
+                  <goal>javadoc</goal>
+                </goals>
+              </execution>
+            </executions>
+          </plugin>
         </plugins>
       </build>
     </profile>

Modified: hbase/trunk/src/docbkx/developer.xml
URL: http://svn.apache.org/viewvc/hbase/trunk/src/docbkx/developer.xml?rev=1245827&r1=1245826&r2=1245827&view=diff
==============================================================================
--- hbase/trunk/src/docbkx/developer.xml (original)
+++ hbase/trunk/src/docbkx/developer.xml Sat Feb 18 01:07:13 2012
@@ -128,6 +128,14 @@ Access restriction: The method getLong(O
             snappy native libs into hbase.</para>
       </section>
 
+      <section xml:id="build.tgz">
+        <title>Building the HBase tarball</title>
+        <para>Do the following to build the HBase tarball.
+        Passing the -Drelease will generate javadoc and run the RAT plugin to verify licenses
on source.
+        <programlisting>% MAVEN_OPTS="-Xmx2g" mvn clean site install assembly:single
-Dmaven.test.skip -Prelease</programlisting>
+</para>
+      </section>
+
       <section xml:id="mvn_repo">
         <title>Adding an HBase release to Apache's Maven Repository</title>
         <para>Follow the instructions at



Mime
View raw message