Skip to content

Track the Maven UpgradeTransitiveDependencyVersion accumulator type change - #193

Merged
shanman190 merged 1 commit into
mainfrom
maven-utdv-accumulator-type
Jul 29, 2026
Merged

Track the Maven UpgradeTransitiveDependencyVersion accumulator type change#193
shanman190 merged 1 commit into
mainfrom
maven-utdv-accumulator-type

Conversation

@shanman190

@shanman190 shanman190 commented Jul 29, 2026

Copy link
Copy Markdown
Contributor

That PR changes rewrite-maven's UpgradeTransitiveDependencyVersion to scan into its own Accumulator instead of AddManagedDependency.Scanned (so it can update an existing managed entry in place). This wrapper's Accumulator.mavenAccumulator field referenced the old type, so it must be retyped to match or the wrapper fails to compile against the new API.

The delegating scanner/visitor pass the accumulator straight through, so this is a one-line type change.

…hange

rewrite-maven's UpgradeTransitiveDependencyVersion now scans into its own
Accumulator rather than AddManagedDependency.Scanned. Retype the wrapper's
mavenAccumulator field to match so it compiles against the new rewrite-maven
API (see openrewrite/rewrite#8342).
@github-project-automation github-project-automation Bot moved this to In Progress in OpenRewrite Jul 29, 2026
@shanman190
shanman190 merged commit 3026df5 into main Jul 29, 2026
1 check failed
@shanman190
shanman190 deleted the maven-utdv-accumulator-type branch July 29, 2026 05:53
@github-project-automation github-project-automation Bot moved this from In Progress to Done in OpenRewrite Jul 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

1 participant