Skip to content

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

Merged
gnodet merged 1 commit into
masterfrom
port-11908-to-master
Jun 23, 2026
Merged

Port #11908: Do not force metadata download for plugin prefix resolution (#11905)#12342
gnodet merged 1 commit into
masterfrom
port-11908-to-master

Conversation

@gnodet

@gnodet gnodet commented Jun 23, 2026

Copy link
Copy Markdown
Contributor

Port of #11908 from maven-3.10.x to master. Fixes #11905 on Maven 4.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

@gnodet gnodet added the bug Something isn't working label Jun 23, 2026
@gnodet gnodet added this to the 4.1.0 milestone Jun 23, 2026
…ion (#11905)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@gnodet
gnodet force-pushed the port-11908-to-master branch from fd0c4ca to c85e11c Compare June 23, 2026 06:29
@gnodet
gnodet requested review from cstamas and mthmulders June 23, 2026 10:30
@gnodet
gnodet merged commit 8ba0519 into master Jun 23, 2026
23 checks passed
@gnodet
gnodet deleted the port-11908-to-master branch June 23, 2026 13:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Maven 3.9.12: Plugin prefix resolution re-downloads group metadata on every invocation

2 participants