feat(bin): 修改仓库到私有仓库中

This commit is contained in:
v-zhangjc9
2025-05-20 14:43:56 +08:00
parent 778a6df984
commit fe58cee730
2 changed files with 9 additions and 3 deletions

View File

@@ -6,6 +6,6 @@ deploy service-common service-dependencies service-configuration service-forest
configs=(b2a4 b2b1 b2b12)
for config in ${configs[*]};
do
mvn -pl service-launcher clean package -D skipTests -P $config
mvn -pl service-launcher clean package -D skipTests -P $config -s $maven_setting
upload $root_path/service-launcher/target/service-launcher-$config-1.0.0-SNAPSHOT.jar
done

View File

@@ -1,5 +1,7 @@
#!/bin/bash
maven_setting=/Users/lanyuanxiaoyao/.m2/settings-nas.xml
build_profile=b2b12
upload_username=AxhEbscwsJDbYMH2
@@ -27,10 +29,14 @@ function joining {
fi
}
function deploy_root() {
mvn deploy -N -D skipTests -s $maven_setting
}
function deploy() {
mvn -pl $(joining , $@) clean install -D skipTests
mvn -pl $(joining , $@) clean deploy -D skipTests -s $maven_setting
}
function package() {
mvn -pl $(joining , $@) clean package -D skipTests -P $build_profile
mvn -pl $(joining , $@) clean package -D skipTests -P $build_profile -s $maven_setting
}