From baa3a8046a1a6bc28cbe0dac0f3218abf26a0ab6 Mon Sep 17 00:00:00 2001 From: Jake Wharton Date: Wed, 19 Nov 2014 14:24:33 -0800 Subject: [PATCH] Use new central artifact redirect link. --- deploy_javadoc.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deploy_javadoc.sh b/deploy_javadoc.sh index c0eab59..7a51ee0 100755 --- a/deploy_javadoc.sh +++ b/deploy_javadoc.sh @@ -24,7 +24,7 @@ git checkout -t origin/gh-pages rm -rf * # Download the latest javadoc -curl -L "http://repository.sonatype.org/service/local/artifact/maven/redirect?r=central-proxy&g=$GROUP_ID&a=$ARTIFACT_ID&v=LATEST&c=javadoc" > javadoc.zip +curl -L "https://search.maven.org/remote_content?g=$GROUP_ID&a=$ARTIFACT_ID&v=LATEST&c=javadoc" > javadoc.zip unzip javadoc.zip rm javadoc.zip