Skip to content

Port #11908: Do not force metadata download for plugin prefix resolution (#11905) - #12343

Merged
gnodet merged 1 commit into
maven-4.0.xfrom
port-11908-to-4.0.x
Jun 23, 2026
Merged

Port #11908: Do not force metadata download for plugin prefix resolution (#11905)#12343
gnodet merged 1 commit into
maven-4.0.xfrom
port-11908-to-4.0.x

Conversation

@gnodet

@gnodet gnodet commented Jun 23, 2026

Copy link
Copy Markdown
Contributor

Port of #11908 from maven-3.10.x to maven-4.0.x. Fixes #11905 on Maven 4.0.x.

Changes plugin prefix resolution order: resolve from project-declared plugins first (user intent takes priority), then fall back to repository metadata. Also adds heuristics to prioritize plugins whose artifactId matches the prefix.

Original fix by @cstamas.

🤖 Generated with Claude Code

…ion (#11905)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@gnodet gnodet added bug Something isn't working backport labels Jun 23, 2026
@gnodet gnodet added this to the 4.0.0-rc-6 milestone Jun 23, 2026
@gnodet
gnodet requested review from cstamas and mthmulders June 23, 2026 10:30
@cstamas

cstamas commented Jun 23, 2026

Copy link
Copy Markdown
Member

Again?

@gnodet
gnodet merged commit 803a864 into maven-4.0.x Jun 23, 2026
24 checks passed
@gnodet
gnodet deleted the port-11908-to-4.0.x branch June 23, 2026 13:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants