You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by ap...@apache.org on 2019/03/28 17:38:32 UTC

[hbase] branch branch-1.3 updated: HBASE-22125 Fix more instances in make_rc.sh where we need -Dhttps.protocols=TLSv1.2

This is an automated email from the ASF dual-hosted git repository.

apurtell pushed a commit to branch branch-1.3
in repository https://gitbox.apache.org/repos/asf/hbase.git


The following commit(s) were added to refs/heads/branch-1.3 by this push:
     new b3ae2fd  HBASE-22125 Fix more instances in make_rc.sh where we need -Dhttps.protocols=TLSv1.2
b3ae2fd is described below

commit b3ae2fd4b7b19519674084aa1c6d158926beae42
Author: Andrew Purtell <ap...@apache.org>
AuthorDate: Thu Mar 28 10:26:26 2019 -0700

    HBASE-22125 Fix more instances in make_rc.sh where we need -Dhttps.protocols=TLSv1.2
---
 dev-support/make_rc.sh | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/dev-support/make_rc.sh b/dev-support/make_rc.sh
index db09801..af6f164 100755
--- a/dev-support/make_rc.sh
+++ b/dev-support/make_rc.sh
@@ -40,6 +40,7 @@ mvnopts="-Xmx3g"
 if [ "$MAVEN_OPTS" != "" ]; then
   mvnopts="${MAVEN_OPTS}"
 fi
+mvnopts="${mvnopts} -Dhttps.protocols=TLSv1.2"
 
 # Make a dir to save tgzs in.
 d=`date -u +"%Y%m%dT%H%M%SZ"`
@@ -53,12 +54,12 @@ function tgz_mover {
 
 function deploy {
   MAVEN_OPTS="${mvnopts}" ${mvn} clean install -DskipTests -Prelease \
-    -Dhttps.protocols=TLSv1.2 -Dmaven.repo.local=${archivedir}/repository
+    -Dmaven.repo.local=${archivedir}/repository
   MAVEN_OPTS="${mvnopts}" ${mvn} install -DskipTests post-site assembly:single -Prelease \
-    -Dhttps.protocols=TLSv1.2 -Dmaven.repo.local=${archivedir}/repository
+    -Dmaven.repo.local=${archivedir}/repository
   tgz_mover
   MAVEN_OPTS="${mvnopts}" ${mvn} deploy -DskipTests -Papache-release -Prelease \
-    -Dhttps.protocols=TLSv1.2 -Dmaven.repo.local=${archivedir}/repository
+    -Dmaven.repo.local=${archivedir}/repository
 }
 
 # Build src tarball
@@ -66,7 +67,7 @@ function deploy {
 MAVEN_OPTS="${mvnopts}" ${mvn} clean
 MAVEN_OPTS="${mvnopts}" ${mvn} install -DskipTests assembly:single \
   -Dassembly.file="$(pwd)/hbase-assembly/src/main/assembly/src.xml" \
-  -Prelease -Dhttps.protocols=TLSv1.2 -Dmaven.repo.local=${archivedir}/repository
+  -Prelease -Dmaven.repo.local=${archivedir}/repository
 
 tgz_mover