Repository navigation
Conversation
|
The PR is ready for review. Local current-main Gradle testing is blocked by unavailable CodeGenome credentials; the supplemental JDK 21 results are documented above. No CI checks are currently attached to the head commit. Could a maintainer help check or enable repository CI and review the opt-in external-parent override behavior? I'm happy to address feedback. |
|
The CI run expired while waiting for approval, without executing any build or test jobs: https://github.com/openrewrite/rewrite/actions/runs/33948051351 |
|
Thanks for working on this, @imgusguo! #9593 has since landed a fix for the same problem: an explicit plugin version now overrides one managed by an inherited parent, using the existing |
What's changed?
overrideManagedVersiontoUpgradePluginVersion, used withaddVersionIfMissing: trueto override versions inherited from an external parent.What's your motivation?
Fixes #8775.
Anything in particular you'd like reviewers to focus on?
The new option deliberately leaves the existing
trustParentplaceholder unchanged. BothoverrideManagedVersionandaddVersionIfMissingmust be enabled to add an external-parent override.Validation
mainatbba4454ain0da87fd. Resolved theNullSourceimport and generated catalog conflicts, preserving upstream's parent-recipe catalog entry and recent composite-version/property-reference fixes.UpgradePluginVersionTestclass: 38 tests, 34 passed, 4 existing skips, 0 failures/errors. The merged recipe, test class, and repository'sOkHttpSendertest helper were compiled unchanged in an isolated validation project../gradlew :rewrite-maven:test --tests 'org.openrewrite.maven.UpgradePluginVersionTest*'could not start locally because the Gradle 9.8.2 distribution download timed out. No project build configuration or dependencies were changed to work around it.MavenRecipeMarketplaceGeneratoragainst the patched recipe and verified all seven generated option descriptors match the committed catalog, retaining the current upstream CSV schema and category hierarchy.git diff --checkpasses. The PR remains limited to the original three files.The current
cgpcheck is waiting for approval: an upstream maintainer with write access needs to click Build on CGP for the updated head commit. The full repository build is still awaiting that validation.Checklist
./gradlew buildlocally, and committed any resulting changes torecipes.csv