Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prefer central repo over repository.apache.org #1273

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

adoroszlai
Copy link

@adoroszlai adoroszlai commented Dec 23, 2024

What changes were proposed in this pull request?

CI build is trying to download non-Apache artifacts from repository.apache.org:

[INFO] Downloading from apache-public-repository-group: https://repository.apache.org/content/groups/public/org/codehaus/groovy/groovy-all/2.5.19/groovy-all-2.5.19.pom
[INFO] Downloading from jenkins-releases: https://repo.jenkins-ci.org/releases/org/codehaus/groovy/groovy-all/2.5.19/groovy-all-2.5.19.pom
[INFO] Downloading from repo.jenkins-ci.org: https://repo.jenkins-ci.org/public/org/codehaus/groovy/groovy-all/2.5.19/groovy-all-2.5.19.pom
[INFO] Downloaded from repo.jenkins-ci.org: https://repo.jenkins-ci.org/public/org/codehaus/groovy/groovy-all/2.5.19/groovy-all-2.5.19.pom (25 kB at 309 kB/s)

Repositories defined in pom.xml have higher precedence than central repo inherited from super POM.

See https://infra.apache.org/infra-ban.html ("Excessive 404") for why this is a problem.

This change explicitly adds central as first repository.

(related change: apache/incubator-kie-kogito-runtimes#3816)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant