From d4879d12c35c16308053ea24b7cb370dabf7d6bc Mon Sep 17 00:00:00 2001 From: "opensearch-trigger-bot[bot]" <98922864+opensearch-trigger-bot[bot]@users.noreply.github.com> Date: Fri, 12 Jan 2024 11:43:02 -0800 Subject: [PATCH] Switch to more reliable OpenSearch Lucene snapshot location (#978) (#984) - Related https://github.com/opensearch-project/opensearch-build/issues/3874 - Related https://github.com/opensearch-project/OpenSearch/pull/11728 (cherry picked from commit 95f0eafb4bd37a08e24da4800b306b4bcfe1ae7c) Signed-off-by: Peter Nied Signed-off-by: Peter Nied Signed-off-by: github-actions[bot] Co-authored-by: github-actions[bot] Co-authored-by: Owais Kazi Co-authored-by: Sarat Vemulapalli --- 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 5130b8c9..b16c9b14 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 0af3fc26..91d1674f 100644 --- a/build.gradle +++ b/build.gradle @@ -156,7 +156,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 {