From d61a14cab9196d6ce5b1ccfe92abc6ec85673c63 Mon Sep 17 00:00:00 2001 From: Adam Shannon Date: Sat, 27 Oct 2018 20:16:08 -0700 Subject: [PATCH] fix maven repo for openapi-generator-cli (#1333) --- bin/utils/openapi-generator-cli.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/utils/openapi-generator-cli.sh b/bin/utils/openapi-generator-cli.sh index 0f1016f9aed5..a21e08a0d1f6 100644 --- a/bin/utils/openapi-generator-cli.sh +++ b/bin/utils/openapi-generator-cli.sh @@ -41,7 +41,7 @@ jar=${artifactid}-${ver}.jar DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" if [ ! -f ${DIR}/${jar} ]; then - repo="central::default::https://repo1.maven.apache.org/maven2" + repo="central::default::https://repo1.maven.org/maven2/" if [[ ${ver} =~ ^.*-SNAPSHOT$ ]]; then repo="central::default::https://oss.sonatype.org/content/repositories/snapshots" fi