Skip to content

Commit b87b2dd

Browse files
Remove aws.oss.sonatype.org reference and update bwcVersion (#1946)
Signed-off-by: Peter Zhu <[email protected]>
1 parent 6f6f56b commit b87b2dd

File tree

3 files changed

+3
-5
lines changed

3 files changed

+3
-5
lines changed

alerting/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ def securityEnabled = System.getProperty("security", "false") == "true" || Syste
129129
// Always be minimumCompatibilityVersion of current opensearch version(3.3.0)
130130
// get latest 3.x version from OpenSearch
131131
static def fetchVersionProperties() {
132-
def url = 'https://raw.githubusercontent.com/opensearch-project/OpenSearch/refs/heads/3.1/buildSrc/version.properties'
132+
def url = 'https://raw.githubusercontent.com/opensearch-project/OpenSearch/refs/heads/3.2/buildSrc/version.properties'
133133
def content = new URL(url).text
134134
// Use regex to extract the version number
135135
def matcher = content =~ /opensearch\s*=\s*(\d+\.\d+\.\d+)/
@@ -138,7 +138,7 @@ static def fetchVersionProperties() {
138138
println("Extracted latest 3.x version: $version")
139139
return version
140140
} else {
141-
return "3.1.0"
141+
return "3.2.0"
142142
}
143143
}
144144
String bwcVersionShort = fetchVersionProperties()

build-tools/repositories.gradle

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,5 @@
66
repositories {
77
mavenLocal()
88
maven { url "https://central.sonatype.com/repository/maven-snapshots/" }
9-
maven { url "https://aws.oss.sonatype.org/content/repositories/snapshots" }
109
mavenCentral()
11-
}
10+
}

sample-remote-monitor-plugin/build.gradle

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@ repositories {
3131
mavenLocal()
3232
mavenCentral()
3333
maven { url "https://central.sonatype.com/repository/maven-snapshots/" }
34-
maven { url "https://aws.oss.sonatype.org/content/repositories/snapshots" }
3534
}
3635

3736
configurations {

0 commit comments

Comments
 (0)