From c7e60b87f9750abe0e98c95b7ba61b36022e19b3 Mon Sep 17 00:00:00 2001 From: Marc Handalian Date: Tue, 22 Jun 2021 09:40:53 -0700 Subject: [PATCH] Add URL for lucene snapshots (#858) Signed-off-by: Marc Handalian --- .../java/org/opensearch/gradle/RepositoriesSetupPlugin.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/buildSrc/src/main/java/org/opensearch/gradle/RepositoriesSetupPlugin.java b/buildSrc/src/main/java/org/opensearch/gradle/RepositoriesSetupPlugin.java index 97bb1ab7a8f..9396d03e4f5 100644 --- a/buildSrc/src/main/java/org/opensearch/gradle/RepositoriesSetupPlugin.java +++ b/buildSrc/src/main/java/org/opensearch/gradle/RepositoriesSetupPlugin.java @@ -95,7 +95,7 @@ public class RepositoriesSetupPlugin implements Plugin { // TODO(cleanup) - Setup own lucene snapshot repo MavenArtifactRepository luceneRepo = repos.maven(repo -> { repo.setName("lucene-snapshots"); - repo.setUrl("https://s3.amazonaws.com/download.elasticsearch.org/lucenesnapshots/" + revision); + repo.setUrl("https://artifacts.opensearch.org/snapshots/lucene/"); }); repos.exclusiveContent(exclusiveRepo -> { exclusiveRepo.filter(