Skip to content

Commit

Permalink
Switch to more reliable OpenSearch Lucene snapshot location
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]>
  • Loading branch information
peternied authored Jan 3, 2024
1 parent af2e47f commit 5031c13
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 @@ -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 {
Expand Down

0 comments on commit 5031c13

Please sign in to comment.