HBASE-20068 personality tests for Apache Yetus should use the maven plugin to exec maven.
Signed-off-by: Josh Elser <elserj@apache.org> Signed-off-by: Reid Chan <reidddchan@outlook.com>
This commit is contained in:
parent
37227b6bb3
commit
1ef2450ca9
|
@ -277,8 +277,10 @@ function refguide_rebuild
|
||||||
|
|
||||||
start_clock
|
start_clock
|
||||||
|
|
||||||
|
# disabled because "maven_executor" needs to return both command and args
|
||||||
|
# shellcheck disable=2046
|
||||||
echo_and_redirect "${logfile}" \
|
echo_and_redirect "${logfile}" \
|
||||||
"${MAVEN}" "${MAVEN_ARGS[@]}" clean site --batch-mode \
|
$(maven_executor) clean site --batch-mode \
|
||||||
-pl . \
|
-pl . \
|
||||||
-Dtest=NoUnitTests -DHBasePatchProcess -Prelease \
|
-Dtest=NoUnitTests -DHBasePatchProcess -Prelease \
|
||||||
-Dmaven.javadoc.skip=true -Dcheckstyle.skip=true -Dfindbugs.skip=true
|
-Dmaven.javadoc.skip=true -Dcheckstyle.skip=true -Dfindbugs.skip=true
|
||||||
|
@ -352,8 +354,10 @@ function shadedjars_rebuild
|
||||||
|
|
||||||
start_clock
|
start_clock
|
||||||
|
|
||||||
|
# disabled because "maven_executor" needs to return both command and args
|
||||||
|
# shellcheck disable=2046
|
||||||
echo_and_redirect "${logfile}" \
|
echo_and_redirect "${logfile}" \
|
||||||
"${MAVEN}" "${MAVEN_ARGS[@]}" clean verify -fae --batch-mode \
|
$(maven_executor) clean verify -fae --batch-mode \
|
||||||
-pl hbase-shaded/hbase-shaded-check-invariants -am \
|
-pl hbase-shaded/hbase-shaded-check-invariants -am \
|
||||||
-Dtest=NoUnitTests -DHBasePatchProcess -Prelease \
|
-Dtest=NoUnitTests -DHBasePatchProcess -Prelease \
|
||||||
-Dmaven.javadoc.skip=true -Dcheckstyle.skip=true -Dfindbugs.skip=true
|
-Dmaven.javadoc.skip=true -Dcheckstyle.skip=true -Dfindbugs.skip=true
|
||||||
|
@ -459,8 +463,10 @@ function hadoopcheck_rebuild
|
||||||
export MAVEN_OPTS="${MAVEN_OPTS}"
|
export MAVEN_OPTS="${MAVEN_OPTS}"
|
||||||
for hadoopver in ${hbase_hadoop2_versions}; do
|
for hadoopver in ${hbase_hadoop2_versions}; do
|
||||||
logfile="${PATCH_DIR}/patch-javac-${hadoopver}.txt"
|
logfile="${PATCH_DIR}/patch-javac-${hadoopver}.txt"
|
||||||
|
# disabled because "maven_executor" needs to return both command and args
|
||||||
|
# shellcheck disable=2046
|
||||||
echo_and_redirect "${logfile}" \
|
echo_and_redirect "${logfile}" \
|
||||||
"${MAVEN}" clean install \
|
$(maven_executor) clean install \
|
||||||
-DskipTests -DHBasePatchProcess \
|
-DskipTests -DHBasePatchProcess \
|
||||||
-Dhadoop-two.version="${hadoopver}"
|
-Dhadoop-two.version="${hadoopver}"
|
||||||
count=$(${GREP} -c '\[ERROR\]' "${logfile}")
|
count=$(${GREP} -c '\[ERROR\]' "${logfile}")
|
||||||
|
@ -473,8 +479,10 @@ function hadoopcheck_rebuild
|
||||||
|
|
||||||
for hadoopver in ${hbase_hadoop3_versions}; do
|
for hadoopver in ${hbase_hadoop3_versions}; do
|
||||||
logfile="${PATCH_DIR}/patch-javac-${hadoopver}.txt"
|
logfile="${PATCH_DIR}/patch-javac-${hadoopver}.txt"
|
||||||
|
# disabled because "maven_executor" needs to return both command and args
|
||||||
|
# shellcheck disable=2046
|
||||||
echo_and_redirect "${logfile}" \
|
echo_and_redirect "${logfile}" \
|
||||||
"${MAVEN}" clean install \
|
$(maven_executor) clean install \
|
||||||
-DskipTests -DHBasePatchProcess \
|
-DskipTests -DHBasePatchProcess \
|
||||||
-Dhadoop-three.version="${hadoopver}" \
|
-Dhadoop-three.version="${hadoopver}" \
|
||||||
-Dhadoop.profile=3.0
|
-Dhadoop.profile=3.0
|
||||||
|
|
Loading…
Reference in New Issue