Skip to content

Commit

Permalink
Try Maven Central before hitting repository.apache.org
Browse files Browse the repository at this point in the history
We have noticed some builds causing many 404 errors on
`repository.apache.org`, causing GitHub Actions runners
to be banned (https://infra.apache.org/infra-ban.html).

Looking at various logs, it looks like this workflow
may be one of the jobs triggering this problem. Including
Maven Central explicitly in the repositories section will
make Maven check that repository first, which should help
a lot.
  • Loading branch information
raboof committed Dec 20, 2024
1 parent d768bb9 commit 24aa10a
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .ci/jenkins/tests/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,14 @@
<packaging>jar</packaging>

<repositories>
<repository>
<snapshots>
<enabled>false</enabled>
</snapshots>
<id>central</id>
<name>Central Repository</name>
<url>https://repo.maven.apache.org/maven2</url>
</repository>
<repository>
<id>apache-public-repository-group</id>
<name>Apache Public Repository Group</name>
Expand Down

0 comments on commit 24aa10a

Please sign in to comment.