Migrate download URLs from search.maven.org to repo.maven.apache.org#860
Merged
Conversation
The legacy search.maven.org/remotecontent endpoint (AWS CloudFront) now returns 504 and is being retired by Sonatype, breaking the prepare-upload deploy step in downloads.py. Repoint all such URLs to the canonical, Cloudflare-fronted repo.maven.apache.org/maven2/ (identical to repo1.maven.org). Covers jmeter.json, jpgc-graphs.json, self.json, jpgc-plugins.json and jpgc-tools.json (944 URLs, both http and https forms). blazemeter.json and various.json left untouched. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
undera
marked this pull request as ready for review
July 16, 2026 08:37
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
The push-to-master
sitejob fails at theprepare-uploadstep:downloads.pyfetches the plugins-manager jar viahttps://search.maven.org/remotecontent?filepath=…, which now returns 504. That legacy endpoint is a redirect frontend on AWS CloudFront and is being retired by Sonatype in favour ofcentral.sonatype.com.Fix
Repoint every
search.maven.org/remotecontent?filepath=…download URL to the canonicalhttps://repo.maven.apache.org/maven2/…form. This is Maven Central fronted by Cloudflare's CDN (resolves to the same IPs asrepo1.maven.organd does edge/geo routing transparently) — it simply drops the dead CloudFront redirect hop.Scope
jmeter.json,jpgc-graphs.json,self.json,jpgc-plugins.json,jpgc-tools.json(bothhttps://and 4 legacyhttp://lib forms).format_repo.py --checkpasses.blazemeter.jsonandvarious.jsonintentionally left untouched.repo.json(generated aggregate, skipped by build scripts) left alone.🤖 Generated with Claude Code