Skip to content

Commit cc41115

Browse files
authored
Merge pull request apache#636 from palantir/yh/fix-maven
[SPARK-30572][BUILD] Add a fallback Maven repository
2 parents f3200ec + b964d67 commit cc41115

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

pom.xml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -284,6 +284,22 @@
284284
<enabled>false</enabled>
285285
</snapshots>
286286
</repository>
287+
<repository>
288+
<id>central_without_mirror</id>
289+
<!--
290+
This is used as a fallback when a mirror to `central` fail.
291+
For example, when we use Google Maven Central in GitHub Action as a mirror of `central`,
292+
this will be used when Google Maven Central is out of sync due to its late sync cycle.
293+
-->
294+
<name>Maven Repository</name>
295+
<url>https://repo.maven.apache.org/maven2</url>
296+
<releases>
297+
<enabled>true</enabled>
298+
</releases>
299+
<snapshots>
300+
<enabled>false</enabled>
301+
</snapshots>
302+
</repository>
287303
</repositories>
288304
<pluginRepositories>
289305
<pluginRepository>

0 commit comments

Comments
 (0)