Skip to content

Commit 556b88d

Browse files
committed
switch the order
1 parent 81bc576 commit 556b88d

File tree

1 file changed

+13
-13
lines changed

1 file changed

+13
-13
lines changed

pom.xml

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -246,10 +246,10 @@
246246
</properties>
247247
<repositories>
248248
<repository>
249-
<id>central</id>
250-
<!-- This should be at top, it makes maven try the central repo first and then others and hence faster dep resolution -->
251-
<name>Maven Repository</name>
252-
<url>https://repo.maven.apache.org/maven2</url>
249+
<id>google-maven-central</id>
250+
<!-- This should be at top, it makes maven try this central repo first and then others and hence faster dep resolution -->
251+
<name>GCS Maven Central mirror</name>
252+
<url>https://maven-central.storage-download.googleapis.com/repos/central/data</url>
253253
<releases>
254254
<enabled>true</enabled>
255255
</releases>
@@ -258,12 +258,12 @@
258258
</snapshots>
259259
</repository>
260260
<repository>
261-
<id>google-maven-central</id>
262261
<!--
263-
This is used as a fallback when `central` fails.
262+
This is used as a fallback when the first try fails.
264263
-->
265-
<name>GCS Maven Central mirror</name>
266-
<url>https://maven-central.storage-download.googleapis.com/repos/central/data</url>
264+
<id>central</id>
265+
<name>Maven Repository</name>
266+
<url>https://repo.maven.apache.org/maven2</url>
267267
<releases>
268268
<enabled>true</enabled>
269269
</releases>
@@ -274,8 +274,9 @@
274274
</repositories>
275275
<pluginRepositories>
276276
<pluginRepository>
277-
<id>central</id>
278-
<url>https://repo.maven.apache.org/maven2</url>
277+
<id>google-maven-central</id>
278+
<name>GCS Maven Central mirror</name>
279+
<url>https://maven-central.storage-download.googleapis.com/repos/central/data</url>
279280
<releases>
280281
<enabled>true</enabled>
281282
</releases>
@@ -284,9 +285,8 @@
284285
</snapshots>
285286
</pluginRepository>
286287
<pluginRepository>
287-
<id>google-maven-central</id>
288-
<name>GCS Maven Central mirror</name>
289-
<url>https://maven-central.storage-download.googleapis.com/repos/central/data</url>
288+
<id>central</id>
289+
<url>https://repo.maven.apache.org/maven2</url>
290290
<releases>
291291
<enabled>true</enabled>
292292
</releases>

0 commit comments

Comments
 (0)