This is an automated email from the ASF dual-hosted git repository.
adoroszlai pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/ozone.git
The following commit(s) were added to refs/heads/master by this push:
new 170761cd48 HDDS-11547. Make MAVEN_OPTS optional (#7288)
170761cd48 is described below
commit 170761cd489c86917a2ef201e983f883863e4de9
Author: Doroszlai, Attila <[email protected]>
AuthorDate: Wed Oct 9 17:53:38 2024 +0200
HDDS-11547. Make MAVEN_OPTS optional (#7288)
---
hadoop-ozone/dev-support/checks/build.sh | 2 +-
hadoop-ozone/dev-support/checks/junit.sh | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/hadoop-ozone/dev-support/checks/build.sh
b/hadoop-ozone/dev-support/checks/build.sh
index f9938e7038..5ff1bdc9a0 100755
--- a/hadoop-ozone/dev-support/checks/build.sh
+++ b/hadoop-ozone/dev-support/checks/build.sh
@@ -26,7 +26,7 @@ else
MAVEN_OPTIONS="${MAVEN_OPTIONS} -Djacoco.skip"
fi
-export MAVEN_OPTS="-Xmx4096m $MAVEN_OPTS"
+export MAVEN_OPTS="-Xmx4096m ${MAVEN_OPTS:-}"
echo "${MAVEN_OPTIONS}"
mvn ${MAVEN_OPTIONS} clean install "$@"
exit $?
diff --git a/hadoop-ozone/dev-support/checks/junit.sh
b/hadoop-ozone/dev-support/checks/junit.sh
index bb7088f0cd..f0002d4eed 100755
--- a/hadoop-ozone/dev-support/checks/junit.sh
+++ b/hadoop-ozone/dev-support/checks/junit.sh
@@ -30,7 +30,7 @@ if [[ ${ITERATIONS} -le 0 ]]; then
ITERATIONS=1
fi
-export MAVEN_OPTS="-Xmx4096m $MAVEN_OPTS"
+export MAVEN_OPTS="-Xmx4096m ${MAVEN_OPTS:-}"
MAVEN_OPTIONS="-B -V -Dskip.npx -Dskip.installnpx -Dnative.lib.tmp.dir=/tmp
--no-transfer-progress"
if [[ "${OZONE_WITH_COVERAGE}" != "true" ]]; then
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]