Skip to content

Drop Maven-only changeManagedDependency from Gradle ChangeDependencyClassifier - #1363

Merged
timtebeek merged 1 commit into
mainfrom
tim/gradle-classifier-no-managed-option
Oct 25, 2026
Merged

timtebeek merged 1 commit into
mainfrom
tim/gradle-classifier-no-managed-option

Conversation

@timtebeek

@timtebeek timtebeek commented Oct 25, 2026 •

Copy link
Copy Markdown
Member

UpdateApacheShiroDependencies passed changeManagedDependency: true to org.openrewrite.gradle.ChangeDependencyClassifier. Only the Maven variant has that option, so the key was always silently dropped. Removing it changes no behavior.

openrewrite/rewrite#9393 reports option keys a recipe can't bind as validation failures. Without this fix, RewriteTest fails for this recipe and for the Jakarta EE 10 composites that include it.

Verified locally: ./gradlew test --tests "*UpdateApacheShiroDependenciesTest" passes. I also ran validateAll() with the patched rewrite-core over this recipe; the unknown-option failure is gone.

@github-project-automation github-project-automation Bot moved this to In Progress in OpenRewrite Oct 25, 2026
@timtebeek
timtebeek marked this pull request as ready for review October 25, 2026 18:17
@timtebeek
timtebeek merged commit ac4b7c8 into main Oct 25, 2026
0 of 2 checks passed
@timtebeek
timtebeek deleted the tim/gradle-classifier-no-managed-option branch October 25, 2026 18:18
@github-project-automation github-project-automation Bot moved this from In Progress to Done in OpenRewrite Oct 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

1 participant