HBASE-8059 Enhance test-patch.sh so that patch can specify hadoop-2.0 as the default profile, part 1 (Ted Yu)
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1454777 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
6372e2dcff
commit
8f8decb1c9
|
@ -354,6 +354,11 @@ checkHadoop20Compile () {
|
|||
echo ""
|
||||
echo ""
|
||||
|
||||
patchForHadoop2=`$GREP -c -i 'hadoop.profile=2.0' $PATCH_DIR/patch`
|
||||
if [[ $patchForHadoop2 != 0 ]] ; then
|
||||
return 0;
|
||||
fi
|
||||
|
||||
export MAVEN_OPTS="${MAVEN_OPTS}"
|
||||
# build core and tests
|
||||
$MVN clean test help:active-profiles -X -DskipTests -Dhadoop.profile=2.0 -D${PROJECT_NAME}PatchProcess > $PATCH_DIR/trunk2.0JavacWarnings.txt 2>&1
|
||||
|
|
Loading…
Reference in New Issue