From 9edfe14a630aba11cf7bb0159e8db6fde94a4aae Mon Sep 17 00:00:00 2001 From: Jackson Tian Date: Mon, 22 Jul 2024 16:17:33 +0800 Subject: [PATCH] disable maven download indicator --- .github/workflows/maven.yml | 2 +- Makefile | 30 +++++++++++++++--------------- 2 files changed, 16 insertions(+), 16 deletions(-) diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index 80534cb68d..9873a298dc 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -52,7 +52,7 @@ jobs: run: | npm i o_o -g o_o & - make travis-test + make functional-test env: ACCESS_KEY_ID: ${{ secrets.ACCESS_KEY_ID }} ACCESS_KEY_SECRET: ${{ secrets.ACCESS_KEY_SECRET }} diff --git a/Makefile b/Makefile index 215c6b4656..67662d2dc6 100644 --- a/Makefile +++ b/Makefile @@ -1,31 +1,31 @@ -travis-test: +functional-test: mkdir -p ./java-sdk-function-test/lib - mvn package -Dmaven.test.skip=true -f ./aliyun-java-sdk-core/pom.xml + mvn package -B -Dmaven.test.skip=true -f ./aliyun-java-sdk-core/pom.xml mv ./aliyun-java-sdk-core/target/*.jar ./java-sdk-function-test/lib/core.jar - mvn package -Dmaven.test.skip=true -f ./aliyun-java-sdk-ecs/pom.xml + mvn package -B -Dmaven.test.skip=true -f ./aliyun-java-sdk-ecs/pom.xml mv ./aliyun-java-sdk-ecs/target/*.jar ./java-sdk-function-test/lib/ecs.jar - mvn package -Dmaven.test.skip=true -f ./aliyun-java-sdk-ccc/pom.xml + mvn package -B -Dmaven.test.skip=true -f ./aliyun-java-sdk-ccc/pom.xml mv ./aliyun-java-sdk-ccc/target/*.jar ./java-sdk-function-test/lib/ccc.jar - mvn package -Dmaven.test.skip=true -f ./aliyun-java-sdk-dysmsapi/pom.xml + mvn package -B -Dmaven.test.skip=true -f ./aliyun-java-sdk-dysmsapi/pom.xml mv ./aliyun-java-sdk-dysmsapi/target/*.jar ./java-sdk-function-test/lib/dysmsapi.jar - mvn package -Dmaven.test.skip=true -f ./aliyun-java-sdk-slb/pom.xml + mvn package -B -Dmaven.test.skip=true -f ./aliyun-java-sdk-slb/pom.xml mv ./aliyun-java-sdk-slb/target/*.jar ./java-sdk-function-test/lib/slb.jar - mvn package -Dmaven.test.skip=true -f ./aliyun-java-sdk-cdn/pom.xml + mvn package -B -Dmaven.test.skip=true -f ./aliyun-java-sdk-cdn/pom.xml mv ./aliyun-java-sdk-cdn/target/*.jar ./java-sdk-function-test/lib/cdn.jar - mvn package -Dmaven.test.skip=true -f ./aliyun-java-sdk-cloudapi/pom.xml + mvn package -B -Dmaven.test.skip=true -f ./aliyun-java-sdk-cloudapi/pom.xml mv ./aliyun-java-sdk-cloudapi/target/*.jar ./java-sdk-function-test/lib/cloudapi.jar - mvn package -Dmaven.test.skip=true -f ./aliyun-java-sdk-ros/pom.xml + mvn package -B -Dmaven.test.skip=true -f ./aliyun-java-sdk-ros/pom.xml mv ./aliyun-java-sdk-ros/target/*.jar ./java-sdk-function-test/lib/ros.jar - mvn package -Dmaven.test.skip=true -f ./aliyun-java-sdk-ram/pom.xml + mvn package -B -Dmaven.test.skip=true -f ./aliyun-java-sdk-ram/pom.xml mv ./aliyun-java-sdk-ram/target/*.jar ./java-sdk-function-test/lib/ram.jar - mvn package -Dmaven.test.skip=true -f ./aliyun-java-sdk-sts/pom.xml + mvn package -B -Dmaven.test.skip=true -f ./aliyun-java-sdk-sts/pom.xml mv ./aliyun-java-sdk-sts/target/*.jar ./java-sdk-function-test/lib/sts.jar - mvn package -Dmaven.test.skip=true -f ./aliyun-java-sdk-vpc/pom.xml + mvn package -B -Dmaven.test.skip=true -f ./aliyun-java-sdk-vpc/pom.xml mv ./aliyun-java-sdk-vpc/target/*.jar ./java-sdk-function-test/lib/vpc.jar - mvn package -Dmaven.test.skip=true -f ./aliyun-java-sdk-rds/pom.xml + mvn package -B -Dmaven.test.skip=true -f ./aliyun-java-sdk-rds/pom.xml mv ./aliyun-java-sdk-rds/target/*.jar ./java-sdk-function-test/lib/rds.jar - mvn package -Dmaven.test.skip=true -f ./aliyun-java-sdk-airec/pom.xml + mvn package -B -Dmaven.test.skip=true -f ./aliyun-java-sdk-airec/pom.xml mv ./aliyun-java-sdk-airec/target/*.jar ./java-sdk-function-test/lib/airec.jar - mvn package -Dmaven.test.skip=true -f ./aliyun-java-sdk-green/pom.xml + mvn package -B -Dmaven.test.skip=true -f ./aliyun-java-sdk-green/pom.xml mv ./aliyun-java-sdk-green/target/*.jar ./java-sdk-function-test/lib/green.jar mvn test -B -f ./java-sdk-function-test/pom.xml \ No newline at end of file