From 203a3324e9547c107cd8aadac315bde23d58abf5 Mon Sep 17 00:00:00 2001 From: Andrew Purtell Date: Tue, 24 Jul 2018 14:59:50 -0700 Subject: [PATCH] HBASE-20931 [branch-1] Add -Dhttps.protocols=TLSv1.2 to Maven command line in make_rc.sh --- dev-support/make_rc.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/dev-support/make_rc.sh b/dev-support/make_rc.sh index 969c32b85e..1f0102138b 100755 --- a/dev-support/make_rc.sh +++ b/dev-support/make_rc.sh @@ -76,9 +76,9 @@ function build_src { # Build bin tgz function build_bin { MAVEN_OPTS="${mvnopts}" ${mvn} clean install -DskipTests -Papache-release -Prelease \ - -Dmaven.repo.local=${output_dir}/repository + -Dhttps.protocols=TLSv1.2 -Dmaven.repo.local=${output_dir}/repository MAVEN_OPTS="${mvnopts}" ${mvn} install -DskipTests site assembly:single -Papache-release -Prelease \ - -Dmaven.repo.local=${output_dir}/repository + -Dhttps.protocols=TLSv1.2 -Dmaven.repo.local=${output_dir}/repository mv ./hbase-assembly/target/hbase-*.tar.gz "${output_dir}" } @@ -102,7 +102,7 @@ build_bin # upload from repository.apache.org by 'drop'ping it from the staging # repository before restart. MAVEN_OPTS="${mvnopts}" ${mvn} deploy -DskipTests -Papache-release -Prelease \ - -Dmaven.repo.local=${output_dir}/repository + -Dhttps.protocols=TLSv1.2 -Dmaven.repo.local=${output_dir}/repository # Do sha512 and md5 cd ${output_dir} -- 2.18.0