feat(bin): 去掉本地仓库依赖
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
#!/bin/bash
|
||||
root_path=$(dirname $(cd $(dirname $0);pwd))
|
||||
source $root_path/bin/library.sh
|
||||
mvn deploy -N -D skipTests -P local -s ~/.m2/settings-development.xml
|
||||
mvn install -N -D skipTests
|
||||
deploy service-common service-dependencies service-configuration service-forest service-cli service-cli/service-cli-core service-executor service-executor/service-executor-core utils/executor
|
||||
package service-api service-check service-cli/service-cli-runner service-cloud-query service-executor/service-executor-manager service-executor/service-executor-task service-command service-command-pro service-exporter service-flink-query service-gateway service-hudi-query service-info-query service-monitor service-loki-query service-pulsar-query service-queue service-scheduler service-uploader service-web service-yarn-query service-zookeeper-query utils/patch utils/sync
|
||||
|
||||
|
||||
15
bin/install_local_jars.sh
Normal file
15
bin/install_local_jars.sh
Normal 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'
|
||||
@@ -51,9 +51,9 @@ function joining {
|
||||
}
|
||||
|
||||
function deploy() {
|
||||
mvn -pl $(joining , $@) clean deploy -D skipTests -P local -s ~/.m2/settings-development.xml
|
||||
mvn -pl $(joining , $@) clean install -D skipTests
|
||||
}
|
||||
|
||||
function package() {
|
||||
mvn -pl $(joining , $@) clean package -D skipTests -P local -s ~/.m2/settings-development.xml -P $build_profile
|
||||
mvn -pl $(joining , $@) clean package -D skipTests -P $build_profile
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user