Repository navigation
Share plugin discovery and version lookup between display and reports - #1397
Merged
slachiewicz merged 6 commits intoOct 10, 2026
Merged
Conversation
wilx
marked this pull request as draft
September 9, 2026 20:09
wilx
marked this pull request as ready for review
September 9, 2026 20:11
wilx
marked this pull request as draft
September 9, 2026 20:24
wilx
marked this pull request as ready for review
September 9, 2026 20:44
Include reporting-only plugins, retain distinct build and managed versions, and infer unspecified current versions using the shared analyzer. Preserve the existing report formats and avoid candidate POM builds when report versions are known. Fixes mojohaus#1250
Resolve reporting plugin versions from effective build plugins, then plugin management, before repository inference. Cover default precedence and preservation of the project model.
Union the available plugin versions from every project before applying onlyUpgradable. Preserve dependency details from projects with no plugin update and cover both build and managed plugin reports.
Union available versions for matching plugin dependencies across projects instead of overwriting earlier results. Reuse the candidate merge for plugins and dependencies, and cover empty results in either order plus overlapping candidates.
wilx
force-pushed
the
refactor-plugin-updates-analysis
branch
from
September 18, 2026 21:07
3af053c to
df8168b
Compare
16 tasks done
slachiewicz
approved these changes
Oct 10, 2026
This was referenced Nov 6, 2026
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.
Plugin update reports use a separate discovery and lookup path from
display-plugin-updates, and omit plugins declared only in<reporting>. This shares the existing display logic with the individual and aggregate reports, following the refactoring discussed in #1250.1.0, build version2.0, and reporting version3.0retains each version in the appropriate report section.onlyUpgradable, so updates found in any project's repository survive later results and appear with either setting.The console keeps its existing plugin selection and Maven compatibility grouping. Reports retain their effective-model selection, update columns, HTML presentation, and XML 2.0.0 schema. Reports with known current versions do not need to build candidate POMs.
Validation:
onlyUpgradablesettings. Shared-dependency tests cover empty results in either project and combining overlapping candidates without duplicates.nice -n 10 /opt/maven/latest/bin/mvn -B -ntp clean verify -Prun-its \ '-Dinvoker.test=it-display-plugin-updates*,it-plugin-updates*' \ -Dinvoker.parallelThreads=4 -Dinvoker.rerunFailingTestsCount=0Fixes #1250