From 2dbdf9027b39e2ce25260565a6b217e3f479ca35 Mon Sep 17 00:00:00 2001 From: Dima Spivak Date: Mon, 20 Jun 2016 12:45:27 -0700 Subject: [PATCH] HBASE-16073 update compatibility_checker for jacc dropping comma sep args --- dev-support/check_compatibility.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/dev-support/check_compatibility.sh b/dev-support/check_compatibility.sh index 95dba00..1745172 100755 --- a/dev-support/check_compatibility.sh +++ b/dev-support/check_compatibility.sh @@ -234,7 +234,8 @@ for ref in 1 2; do JARS[${ref}]=$(paste -s -d , <(echo "${JARS}")) done -# Download the Java API Compliance Checker (Java ACC) into /dev-support/target/compatibility. +# Download the Java API Compliance Checker (Java ACC) v. 1.7 (see HBASE-16073) into +# /dev-support/target/compatibility. # Note: Java API Compliance Checker (Java ACC) is licensed under the GNU GPL or LGPL. For more # information, visit http://ispras.linuxbase.org/index.php/Java_API_Compliance_Checker . @@ -242,7 +243,7 @@ done if [ ! -d ${SCRIPT_DIRECTORY}/target/compatibility/javaACC ] || [ -n "${FORCE_DOWNLOAD}" ]; then echo "Downloading Java API Compliance Checker..." rm -rf ${SCRIPT_DIRECTORY}/target/compatibility/javaACC - if ! git clone https://github.com/lvc/japi-compliance-checker.git \ + if ! git clone https://github.com/lvc/japi-compliance-checker.git -b 1.7 \ ${SCRIPT_DIRECTORY}/target/compatibility/javaACC; then echo "Failed to download Java API Compliance Checker. Exiting..." >&2 exit 2 -- 2.5.4 (Apple Git-61)