Skip to content

Commit

Permalink
Switch to more reliable OpenSearch Lucene snapshot location (#978)
Browse files Browse the repository at this point in the history
- Related opensearch-project/opensearch-build#3874
- Related opensearch-project/OpenSearch#11728

Signed-off-by: Peter Nied <[email protected]>
Signed-off-by: Peter Nied <[email protected]>
Co-authored-by: Owais Kazi <[email protected]>
(cherry picked from commit 95f0eaf)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
  • Loading branch information
github-actions[bot] and owaiskazi19 committed Jan 12, 2024
1 parent 94da0e7 commit 19a150e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions CREATE_YOUR_FIRST_EXTENSION.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:

Expand All @@ -42,7 +42,7 @@ If you use Maven, the following POM entries will work:
<repository>
<id>lucene.snapshots</id>
<name>Lucene Snapshot Repository</name>
<url>https://d1nvenhzbhpy0q.cloudfront.net/snapshots/lucene/</url>
<url>https://artifacts.opensearch.org/snapshots/lucene/</url>
</repository>
</repositories>

Expand All @@ -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 {
Expand Down
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 19a150e

Please sign in to comment.