HBASE-20931 [branch-1] Add -Dhttps.protocols=TLSv1.2 to Maven command line in make_rc.sh

This commit is contained in:
Andrew Purtell 2018-07-24 14:59:50 -07:00
parent 0b7081e67a
commit 203a3324e9
1 changed files with 3 additions and 3 deletions

View File

@ -76,9 +76,9 @@ function build_src {
# Build bin tgz # Build bin tgz
function build_bin { function build_bin {
MAVEN_OPTS="${mvnopts}" ${mvn} clean install -DskipTests -Papache-release -Prelease \ 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 \ 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}" 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 # upload from repository.apache.org by 'drop'ping it from the staging
# repository before restart. # repository before restart.
MAVEN_OPTS="${mvnopts}" ${mvn} deploy -DskipTests -Papache-release -Prelease \ 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 # Do sha512 and md5
cd ${output_dir} cd ${output_dir}