You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kyuubi.apache.org by bo...@apache.org on 2023/01/30 05:47:21 UTC

[kyuubi] branch master updated: [KYUUBI #4191] [Improvement] Skip fetching Maven dependency snapshot update when building `dependencyList`

This is an automated email from the ASF dual-hosted git repository.

bowenliang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/kyuubi.git


The following commit(s) were added to refs/heads/master by this push:
     new 7c036fbda [KYUUBI #4191] [Improvement] Skip fetching Maven dependency snapshot update when building `dependencyList`
7c036fbda is described below

commit 7c036fbda7908168209b41e988e6ba5694771d7d
Author: liangbowen <li...@gf.com.cn>
AuthorDate: Mon Jan 30 13:47:12 2023 +0800

    [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 <li...@gf.com.cn>
    Signed-off-by: liangbowen <li...@gf.com.cn>
---
 build/dependency.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/build/dependency.sh b/build/dependency.sh
index 69d946f39..8596b00dc 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" | \