This is an automated email from the ASF dual-hosted git repository.
zhouky pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/incubator-celeborn.git
The following commit(s) were added to refs/heads/main by this push:
new fd7d8361f [CELEBORN-377][BUILD] `build/mvn` should always respect
`maven.version` defined in `pom.xml` (#1310)
fd7d8361f is described below
commit fd7d8361f6bab622a82cc33de061c99c0e073d84
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 \