HBASE-5294 Make sure javadoc is included in tarball bundle when we release

git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1245827 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Michael Stack 2012-02-18 01:07:13 +00:00
parent f1815cf544
commit 9a7f01e293
2 changed files with 23 additions and 0 deletions

15
pom.xml
View File

@ -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>

View File

@ -128,6 +128,14 @@ Access restriction: The method getLong(Object, long) from the type Unsafe is not
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