This is an automated email from the ASF dual-hosted git repository.
chengpan pushed a commit to branch branch-0.2
in repository https://gitbox.apache.org/repos/asf/incubator-celeborn.git
The following commit(s) were added to refs/heads/branch-0.2 by this push:
new d86a2379f [CELEBORN-377][BUILD] `build/mvn` should always respect
`maven.version` defined in `pom.xml` (#1310)
d86a2379f is described below
commit d86a2379f3309e59b4cac9abf0afa0cfd3ba4ed9
Author: Cheng Pan <[email protected]>
AuthorDate: Mon Mar 6 15:14:18 2023 +0800
[CELEBORN-377][BUILD] `build/mvn` should always respect `maven.version`
defined in `pom.xml` (#1310)
---
build/mvn | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/build/mvn b/build/mvn
index d67638ba2..67aa02b4f 100755
--- a/build/mvn
+++ b/build/mvn
@@ -76,7 +76,7 @@ install_mvn() {
fi
# See simple version normalization:
http://stackoverflow.com/questions/16989598/bash-comparing-version-numbers
function version { echo "$@" | awk -F. '{ printf("%03d%03d%03d\n",
$1,$2,$3); }'; }
- if [ $(version $MVN_DETECTED_VERSION) -lt $(version $MVN_VERSION) ]; then
+ if [ $(version $MVN_DETECTED_VERSION) -ne $(version $MVN_VERSION) ]; then
local APACHE_MIRROR=${APACHE_MIRROR:-'https://archive.apache.org/dist/'}
install_app \