All commands executed from the local HBase project directory.
Note: use Maven 3 (Maven 2 may work but we suggest you use Maven 3).
See the Section 1.4.1.1, “Running tests” section above in Section 1.4.1, “Unit Tests”
mvn -Dhadoop.profile=22 ...
That is, designate build with hadoop.profile 22. Pass 23 for hadoop.profile to build against hadoop 0.23.
Tests do not all pass as of this writing so you may need ot pass -DskipTests
unless you are inclined
to fix the failing tests.