[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 <liangbowen@gf.com.cn> Signed-off-by: liangbowen <liangbowen@gf.com.cn>
This commit is contained in:
parent
b6a1a376bf
commit
7c036fbda7
@ -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" | \
|
||||
|
||||
Loading…
Reference in New Issue
Block a user