Skip to content
This repository was archived by the owner on May 14, 2025. It is now read-only.

Commit 61e4e62

Browse files
author
Corneil du Plessis
authored
Make Maven Central the first repo for resolution. (#5241)
1 parent 2936c5c commit 61e4e62

File tree

4 files changed

+59
-59
lines changed

4 files changed

+59
-59
lines changed

.github/settings.xml

Lines changed: 23 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,14 @@
6969
<profile>
7070
<id>stagingmilestone</id>
7171
<repositories>
72+
<repository>
73+
<id>maven-central</id>
74+
<name>Maven Central</name>
75+
<url>https://repo.maven.apache.org/maven2</url>
76+
<snapshots>
77+
<enabled>false</enabled>
78+
</snapshots>
79+
</repository>
7280
<repository>
7381
<id>spring-staging</id>
7482
<name>Spring Staging</name>
@@ -85,16 +93,16 @@
8593
<enabled>false</enabled>
8694
</snapshots>
8795
</repository>
88-
<repository>
96+
</repositories>
97+
<pluginRepositories>
98+
<pluginRepository>
8999
<id>maven-central</id>
90100
<name>Maven Central</name>
91101
<url>https://repo.maven.apache.org/maven2</url>
92102
<snapshots>
93103
<enabled>false</enabled>
94104
</snapshots>
95-
</repository>
96-
</repositories>
97-
<pluginRepositories>
105+
</pluginRepository>
98106
<pluginRepository>
99107
<id>spring-staging</id>
100108
<name>Spring Staging</name>
@@ -111,19 +119,19 @@
111119
<enabled>false</enabled>
112120
</snapshots>
113121
</pluginRepository>
114-
<pluginRepository>
122+
</pluginRepositories>
123+
</profile>
124+
<profile>
125+
<id>stagingrelease</id>
126+
<repositories>
127+
<repository>
115128
<id>maven-central</id>
116129
<name>Maven Central</name>
117130
<url>https://repo.maven.apache.org/maven2</url>
118131
<snapshots>
119132
<enabled>false</enabled>
120133
</snapshots>
121-
</pluginRepository>
122-
</pluginRepositories>
123-
</profile>
124-
<profile>
125-
<id>stagingrelease</id>
126-
<repositories>
134+
</repository>
127135
<repository>
128136
<id>spring-staging</id>
129137
<name>Spring Staging</name>
@@ -132,16 +140,16 @@
132140
<enabled>false</enabled>
133141
</snapshots>
134142
</repository>
135-
<repository>
143+
</repositories>
144+
<pluginRepositories>
145+
<pluginRepository>
136146
<id>maven-central</id>
137147
<name>Maven Central</name>
138148
<url>https://repo.maven.apache.org/maven2</url>
139149
<snapshots>
140150
<enabled>false</enabled>
141151
</snapshots>
142-
</repository>
143-
</repositories>
144-
<pluginRepositories>
152+
</pluginRepository>
145153
<pluginRepository>
146154
<id>spring-staging</id>
147155
<name>Spring Staging</name>
@@ -150,14 +158,6 @@
150158
<enabled>false</enabled>
151159
</snapshots>
152160
</pluginRepository>
153-
<pluginRepository>
154-
<id>maven-central</id>
155-
<name>Maven Central</name>
156-
<url>https://repo.maven.apache.org/maven2</url>
157-
<snapshots>
158-
<enabled>false</enabled>
159-
</snapshots>
160-
</pluginRepository>
161161
</pluginRepositories>
162162
</profile>
163163
</profiles>

pom.xml

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -416,6 +416,14 @@
416416
<profile>
417417
<id>spring</id>
418418
<repositories>
419+
<repository>
420+
<id>maven-central</id>
421+
<name>Maven Central</name>
422+
<url>https://repo.maven.apache.org/maven2</url>
423+
<snapshots>
424+
<enabled>false</enabled>
425+
</snapshots>
426+
</repository>
419427
<repository>
420428
<id>spring-snapshots</id>
421429
<name>Spring Snapshots</name>
@@ -440,16 +448,16 @@
440448
<enabled>true</enabled>
441449
</snapshots>
442450
</repository>
443-
<repository>
451+
</repositories>
452+
<pluginRepositories>
453+
<pluginRepository>
444454
<id>maven-central</id>
445455
<name>Maven Central</name>
446456
<url>https://repo.maven.apache.org/maven2</url>
447457
<snapshots>
448458
<enabled>false</enabled>
449459
</snapshots>
450-
</repository>
451-
</repositories>
452-
<pluginRepositories>
460+
</pluginRepository>
453461
<pluginRepository>
454462
<id>spring-snapshots</id>
455463
<name>Spring Snapshots</name>
@@ -466,14 +474,6 @@
466474
<enabled>false</enabled>
467475
</snapshots>
468476
</pluginRepository>
469-
<pluginRepository>
470-
<id>maven-central</id>
471-
<name>Maven Central</name>
472-
<url>https://repo.maven.apache.org/maven2</url>
473-
<snapshots>
474-
<enabled>false</enabled>
475-
</snapshots>
476-
</pluginRepository>
477477
</pluginRepositories>
478478
</profile>
479479
</profiles>

spring-cloud-dataflow-dependencies/pom.xml

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -147,6 +147,14 @@
147147
<profile>
148148
<id>spring</id>
149149
<repositories>
150+
<repository>
151+
<id>maven-central</id>
152+
<name>Maven Central</name>
153+
<url>https://repo.maven.apache.org/maven2</url>
154+
<snapshots>
155+
<enabled>false</enabled>
156+
</snapshots>
157+
</repository>
150158
<repository>
151159
<id>spring-snapshots</id>
152160
<name>Spring Snapshots</name>
@@ -163,16 +171,16 @@
163171
<enabled>false</enabled>
164172
</snapshots>
165173
</repository>
166-
<repository>
174+
</repositories>
175+
<pluginRepositories>
176+
<pluginRepository>
167177
<id>maven-central</id>
168178
<name>Maven Central</name>
169179
<url>https://repo.maven.apache.org/maven2</url>
170180
<snapshots>
171181
<enabled>false</enabled>
172182
</snapshots>
173-
</repository>
174-
</repositories>
175-
<pluginRepositories>
183+
</pluginRepository>
176184
<pluginRepository>
177185
<id>spring-snapshots</id>
178186
<name>Spring Snapshots</name>
@@ -189,14 +197,6 @@
189197
<enabled>false</enabled>
190198
</snapshots>
191199
</pluginRepository>
192-
<pluginRepository>
193-
<id>maven-central</id>
194-
<name>Maven Central</name>
195-
<url>https://repo.maven.apache.org/maven2</url>
196-
<snapshots>
197-
<enabled>false</enabled>
198-
</snapshots>
199-
</pluginRepository>
200200
</pluginRepositories>
201201
</profile>
202202
</profiles>

spring-cloud-dataflow-server/pom.xml

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -205,6 +205,14 @@
205205
<profile>
206206
<id>spring</id>
207207
<repositories>
208+
<repository>
209+
<id>maven-central</id>
210+
<name>Maven Central</name>
211+
<url>https://repo.maven.apache.org/maven2</url>
212+
<snapshots>
213+
<enabled>false</enabled>
214+
</snapshots>
215+
</repository>
208216
<repository>
209217
<id>spring-snapshots</id>
210218
<name>Spring Snapshots</name>
@@ -221,16 +229,16 @@
221229
<enabled>false</enabled>
222230
</snapshots>
223231
</repository>
224-
<repository>
232+
</repositories>
233+
<pluginRepositories>
234+
<pluginRepository>
225235
<id>maven-central</id>
226236
<name>Maven Central</name>
227237
<url>https://repo.maven.apache.org/maven2</url>
228238
<snapshots>
229239
<enabled>false</enabled>
230240
</snapshots>
231-
</repository>
232-
</repositories>
233-
<pluginRepositories>
241+
</pluginRepository>
234242
<pluginRepository>
235243
<id>spring-snapshots</id>
236244
<name>Spring Snapshots</name>
@@ -247,14 +255,6 @@
247255
<enabled>false</enabled>
248256
</snapshots>
249257
</pluginRepository>
250-
<pluginRepository>
251-
<id>maven-central</id>
252-
<name>Maven Central</name>
253-
<url>https://repo.maven.apache.org/maven2</url>
254-
<snapshots>
255-
<enabled>false</enabled>
256-
</snapshots>
257-
</pluginRepository>
258258
</pluginRepositories>
259259
</profile>
260260
</profiles>

0 commit comments

Comments
 (0)