HBASE-20931 [branch-1] Add -Dhttps.protocols=TLSv1.2 to Maven command line in make_rc.sh
This commit is contained in:
parent
0b7081e67a
commit
203a3324e9
|
@ -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}
|
||||||
|
|
Loading…
Reference in New Issue