Index: dev-support/test-patch.sh =================================================================== --- dev-support/test-patch.sh (revision 1454616) +++ dev-support/test-patch.sh (working copy) @@ -354,6 +354,11 @@ echo "" echo "" + patchForHadoop2=`$GREP -c -i 'This patch uses hadoop-2.0 as default profile' $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