Skip to content

Commit 027baa6

Browse files
authored
Add CI mirror to plugin and dependency repositories to avoid Maven Central throttling (#5591)
Signed-off-by: Divya Madala <divyaasm@amazon.com>
1 parent 9ab5038 commit 027baa6

12 files changed

Lines changed: 20 additions & 0 deletions

File tree

async-query-core/build.gradle

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ plugins {
1313
}
1414

1515
repositories {
16+
maven { url "https://ci.opensearch.org/maven2/" }
1617
mavenCentral()
1718
}
1819

async-query/build.gradle

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ plugins {
1111
}
1212

1313
repositories {
14+
maven { url "https://ci.opensearch.org/maven2/" }
1415
mavenCentral()
1516
}
1617

benchmarks/build.gradle

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ plugins {
99
}
1010

1111
repositories {
12+
maven { url "https://ci.opensearch.org/maven2/" }
1213
mavenCentral()
1314
}
1415

build.gradle

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@ buildscript {
5555

5656
repositories {
5757
mavenLocal()
58+
maven { url "https://ci.opensearch.org/maven2/" }
5859
mavenCentral()
5960
maven { url "https://ci.opensearch.org/ci/dbc/snapshots/maven/" }
6061
}
@@ -79,6 +80,7 @@ apply plugin: 'opensearch.java'
7980
// Repository on root level is for dependencies that project code depends on. And this block must be placed after plugins{}
8081
repositories {
8182
mavenLocal()
83+
maven { url "https://ci.opensearch.org/maven2/" }
8284
mavenCentral() // For Elastic Libs that you can use to get started coding until open OpenSearch libs are available
8385
maven { url "https://ci.opensearch.org/ci/dbc/snapshots/maven/" }
8486
maven { url 'https://jitpack.io' }
@@ -130,6 +132,7 @@ allprojects {
130132
subprojects {
131133
repositories {
132134
mavenLocal()
135+
maven { url "https://ci.opensearch.org/maven2/" }
133136
mavenCentral()
134137
maven { url "https://ci.opensearch.org/ci/dbc/snapshots/maven/" }
135138
maven { url "https://ci.opensearch.org/ci/dbc/snapshots/lucene/" }

buildSrc/build.gradle

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ apply plugin: 'java'
33

44

55
repositories {
6+
maven { url "https://ci.opensearch.org/maven2/" }
67
mavenCentral()
78
}
89

common/build.gradle

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ plugins {
2929
}
3030

3131
repositories {
32+
maven { url "https://ci.opensearch.org/maven2/" }
3233
mavenCentral()
3334
}
3435

core/build.gradle

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ plugins {
3131
}
3232

3333
repositories {
34+
maven { url "https://ci.opensearch.org/maven2/" }
3435
mavenCentral()
3536
}
3637

datasources/build.gradle

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ plugins {
1010
}
1111

1212
repositories {
13+
maven { url "https://ci.opensearch.org/maven2/" }
1314
mavenCentral()
1415
}
1516

integ-test/build.gradle

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ apply plugin: 'com.wiredforcode.spawn'
4848

4949

5050
repositories {
51+
maven { url "https://ci.opensearch.org/maven2/" }
5152
mavenCentral()
5253
maven { url 'https://jitpack.io' }
5354

plugin/build.gradle

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ ext {
4242
}
4343

4444
repositories {
45+
maven { url "https://ci.opensearch.org/maven2/" }
4546
mavenCentral()
4647
maven { url 'https://jitpack.io' }
4748
}

0 commit comments

Comments
 (0)