You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by zh...@apache.org on 2021/10/20 08:48:09 UTC

[hbase] 01/02: HBASE-25890 [branch-1] add -U for maven build to force a check for updated releases and snapshots on remote repositories (#3265)

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

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

commit 81f38bb576f89854622ada72415a567dcf232644
Author: Reid Chan <re...@apache.org>
AuthorDate: Fri May 14 17:48:15 2021 +0800

    HBASE-25890 [branch-1] add -U for maven build to force a check for updated releases and snapshots on remote repositories (#3265)
---
 dev-support/hbase-personality.sh | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/dev-support/hbase-personality.sh b/dev-support/hbase-personality.sh
index 2af8b66..65988e7 100755
--- a/dev-support/hbase-personality.sh
+++ b/dev-support/hbase-personality.sh
@@ -442,7 +442,7 @@ function shadedjars_rebuild
 
   start_clock
 
-  local -a maven_args=('clean' 'verify' '-fae' '--batch-mode'
+  local -a maven_args=('clean' 'verify' '-fae' '-U' '--batch-mode'
     '-pl' 'hbase-shaded/hbase-shaded-check-invariants' '-am'
     '-Dtest=NoUnitTests' '-DHBasePatchProcess' '-Prelease'
     '-Dmaven.javadoc.skip=true' '-Dcheckstyle.skip=true' '-Dspotbugs.skip=true')
@@ -453,7 +453,7 @@ function shadedjars_rebuild
   # disabled because "maven_executor" needs to return both command and args
   # shellcheck disable=2046
   echo_and_redirect "${logfile}" \
-    $(maven_executor) clean verify -fae --batch-mode \
+    $(maven_executor) clean verify -fae -U --batch-mode \
       -pl hbase-shaded/hbase-shaded-check-invariants -am \
       -Dtest=NoUnitTests -DHBasePatchProcess -Prelease \
       -Dmaven.javadoc.skip=true -Dcheckstyle.skip=true -Dfindbugs.skip=true
@@ -617,7 +617,7 @@ function hadoopcheck_rebuild
     # disabled because "maven_executor" needs to return both command and args
     # shellcheck disable=2046
     echo_and_redirect "${logfile}" \
-      $(maven_executor) clean install \
+      $(maven_executor) -U clean install \
         -DskipTests -DHBasePatchProcess \
         -Dhadoop-two.version="${hadoopver}"
     count=$(${GREP} -c '\[ERROR\]' "${logfile}")