feat(bin): 去掉本地仓库依赖

This commit is contained in:
v-zhangjc9
2024-05-26 23:43:55 +08:00
parent 67181e501e
commit bb745b6f82
3 changed files with 18 additions and 3 deletions

15
bin/install_local_jars.sh Normal file
View File

@@ -0,0 +1,15 @@
#!/bin/bash
# 安装专有jar包到本地仓库
function install_jar() {
group_id=$1
artifact_id=$2
version=$3
file_path=$4
mvn install:install-file -DgroupId=${group_id} -DartifactId=${artifact_id} -Dversion=${version} -Dfile=${file_path}
}
install_jar 'org.apache.flink' 'flink-shaded-hadoop-3-uber' '3.1.1.7.2.9.0-173-9.0' 'C:\Users\Administrator\Desktop\flink-shaded-hadoop-3-uber-3.1.1.7.2.9.0-173-9.0.jar'
install_jar 'io.juicefs' 'juicefs-hadoop' '2.0.0' 'C:\Users\Administrator\Desktop\juicefs-hadoop-2.0.0.jar'