HBASE-4561 Update Maven documentation in book

git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1180749 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Michael Stack 2011-10-10 00:01:08 +00:00
parent 3d50077db1
commit 19830aa18e
1 changed files with 10 additions and 9 deletions

View File

@ -100,7 +100,7 @@ Access restriction: The method getLong(Object, long) from the type Unsafe is not
<title>Maven Build Commands</title>
<para>All commands executed from the local HBase project directory.
</para>
<para>Note: use Maven 2, not Maven 3.
<para>Note: use Maven 3 (Maven 2 may work but we suggest you use Maven 3).
</para>
<section xml:id="maven.build.commands.compile">
<title>Compile</title>
@ -125,8 +125,15 @@ mvn test -Dtest=TestXYZ
<programlisting>
mvn test -Dtest=org.apache.hadoop.hbase.client.*
</programlisting>
</section>
</section>
<section xml:id="maven.build.commanas.integration.tests">
<title>Integration Tests</title>
<para>HBase 0.92 added a <varname>verify</varname> maven target. Invoking it with run all the phases up to and including the verify phase via the maven <link xlink:href="http://maven.apache.org/plugins/maven-failsafe-plugin/">failsafe plugin</link>, running all the unit tests as well as the long running unit and integration tests.
</para>
<programlisting>
mvn verify
</programlisting>
</section>
</section>
<section xml:id="getting.involved">
@ -203,12 +210,6 @@ mvn test -Dtest=org.apache.hadoop.hbase.client.*
</programlisting>
</para>
</section>
<section xml:id="integration.tests">
<title>Integration Tests</title>
<para>HBase 0.92 added a <varname>verify</varname> maven target. Invocation will
run a suite of long-running tests via the maven <link xlink:href="http://maven.apache.org/plugins/maven-failsafe-plugin/">failsafe plugin</link>.
</para>
</section>
<section xml:id="code.standards">
<title>Code Standards</title>
<para>See <xref linkend="eclipse.code.formatting"/> and <xref linkend="common.patch.feedback"/>.