Skip to content

Commit

Permalink
HBASE-25890 [branch-1] add -U for maven build to force a check for up…
Browse files Browse the repository at this point in the history
…dated releases and snapshots on remote repositories (#3265)
  • Loading branch information
Reidddddd authored and Duo Zhang committed Oct 20, 2021
1 parent fd55a05 commit 81f38bb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions dev-support/hbase-personality.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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')
Expand All @@ -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
Expand Down Expand Up @@ -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}")
Expand Down

0 comments on commit 81f38bb

Please sign in to comment.