From 5031c1327318f6826f25770db498e8e19ed22ac9 Mon Sep 17 00:00:00 2001 From: Peter Nied Date: Wed, 3 Jan 2024 14:39:31 -0600 Subject: [PATCH] Switch to more reliable OpenSearch Lucene snapshot location - Related https://github.com/opensearch-project/opensearch-build/issues/3874 - Related https://github.com/opensearch-project/OpenSearch/pull/11728 Signed-off-by: Peter Nied Signed-off-by: Peter Nied --- CREATE_YOUR_FIRST_EXTENSION.md | 6 +++--- build.gradle | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/CREATE_YOUR_FIRST_EXTENSION.md b/CREATE_YOUR_FIRST_EXTENSION.md index 5fbc210d..41fb7135 100644 --- a/CREATE_YOUR_FIRST_EXTENSION.md +++ b/CREATE_YOUR_FIRST_EXTENSION.md @@ -28,7 +28,7 @@ In your dependency management, set up a dependency on the OpenSearch SDK for Jav At general availability, dependencies will be released to the Central Repository. To use SNAPSHOT versions, add these repositories: - OpenSearch SNAPSHOT repository: https://aws.oss.sonatype.org/content/repositories/snapshots/ - - Lucene snapshot repository: https://d1nvenhzbhpy0q.cloudfront.net/snapshots/lucene/ + - Lucene snapshot repository: https://artifacts.opensearch.org/snapshots/lucene/ If you use Maven, the following POM entries will work: @@ -42,7 +42,7 @@ If you use Maven, the following POM entries will work: lucene.snapshots Lucene Snapshot Repository - https://d1nvenhzbhpy0q.cloudfront.net/snapshots/lucene/ + https://artifacts.opensearch.org/snapshots/lucene/ @@ -61,7 +61,7 @@ For Gradle, specify dependencies as follows: repositories { mavenCentral() maven { url "https://aws.oss.sonatype.org/content/repositories/snapshots/" } - maven { url "https://d1nvenhzbhpy0q.cloudfront.net/snapshots/lucene/"} + maven { url "https://artifacts.opensearch.org/snapshots/lucene/"} } dependencies { diff --git a/build.gradle b/build.gradle index cb07ab6d..f38cadcf 100644 --- a/build.gradle +++ b/build.gradle @@ -157,7 +157,7 @@ repositories { mavenLocal() mavenCentral() maven { url "https://aws.oss.sonatype.org/content/repositories/snapshots" } - maven { url "https://d1nvenhzbhpy0q.cloudfront.net/snapshots/lucene/"} + maven { url "https://artifacts.opensearch.org/snapshots/lucene/"} } dependencies {