HBASE-16073 update compatibility_checker for jacc dropping comma sep args

Signed-off-by: Sean Busbey <busbey@apache.org>
This commit is contained in:
Dima Spivak 2016-06-20 12:45:27 -07:00 committed by Sean Busbey
parent 152594560e
commit ef90ecc00c
1 changed files with 3 additions and 2 deletions

View File

@ -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