From 2cd1c6e03688b8295ebbeaa1b67c21bd49af081e Mon Sep 17 00:00:00 2001 From: He Weiwei Date: Thu, 16 Jan 2020 02:26:34 +0000 Subject: [PATCH] build(swagger): change download link of swagger-codegen-cli The http://central.maven.org is not available now so change the download link of swagger-codegen-cli to https://repo1.maven.org Signed-off-by: He Weiwei --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 4c8e07638..67f5d1cbf 100644 --- a/Makefile +++ b/Makefile @@ -473,7 +473,7 @@ down: swagger_client: @echo "Generate swagger client" - wget -q http://central.maven.org/maven2/io/swagger/swagger-codegen-cli/2.3.1/swagger-codegen-cli-2.3.1.jar -O swagger-codegen-cli.jar + wget -q https://repo1.maven.org/maven2/io/swagger/swagger-codegen-cli/2.3.1/swagger-codegen-cli-2.3.1.jar -O swagger-codegen-cli.jar rm -rf harborclient mkdir harborclient java -jar swagger-codegen-cli.jar generate -i api/harbor/swagger.yaml -l python -o harborclient