From 7c036fbda7908168209b41e988e6ba5694771d7d Mon Sep 17 00:00:00 2001 From: liangbowen Date: Mon, 30 Jan 2023 13:47:12 +0800 Subject: [PATCH] [KYUUBI #4191] [Improvement] Skip fetching Maven dependency snapshot update when building `dependencyList` ### _Why are the changes needed?_ - Skip Maven dependency snapshot update fetching to building `dependencyList` faster without waiting for fetching daily snapshots checking (only snapshots of submodules used). ### _How was this patch tested?_ - [ ] Add some test cases that check the changes thoroughly including negative and positive cases if possible - [ ] Add screenshots for manual tests if appropriate - [x] [Run test](https://kyuubi.readthedocs.io/en/master/develop_tools/testing.html#running-tests) locally before make a pull request Closes #4191 from bowenliang123/dependency-resolve. Closes #4191 0bf36815 [liangbowen] apply `--no-snapshot-updates` option in build_classpath Authored-by: liangbowen Signed-off-by: liangbowen --- build/dependency.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build/dependency.sh b/build/dependency.sh index 69d946f39aa..8596b00dcc7 100755 --- a/build/dependency.sh +++ b/build/dependency.sh @@ -32,7 +32,7 @@ DEP="${PWD}/dev/dependencyList" function build_classpath() { - $MVN dependency:build-classpath -pl kyuubi-ctl,kyuubi-server,kyuubi-assembly |\ + $MVN dependency:build-classpath --no-snapshot-updates -pl kyuubi-ctl,kyuubi-server,kyuubi-assembly |\ grep -v "INFO\|WARN" | \ tail -1 | \ tr ":" "\n" | \