Skip to content

Make the fetcher update transitive maven deps in buf.plugin.yml#2342

Open
DMarby wants to merge 1 commit intomainfrom
dmarby/fix-grpc-java-fetch
Open

Make the fetcher update transitive maven deps in buf.plugin.yml#2342
DMarby wants to merge 1 commit intomainfrom
dmarby/fix-grpc-java-fetch

Conversation

@DMarby
Copy link
Member

@DMarby DMarby commented Mar 18, 2026

So that we don't error out on duplicate maven deps

So that we don't error out on duplicate maven deps.

When a dependency plugin's Maven version is updated (e.g. protocolbuffers/java
moves from v33.5 to v34.0), consumers that have stale pins (e.g. grpc/java
still pinning protobuf-java:4.33.5 from the previous copy) would hit version
conflicts during deduplication.

Now RegenerateMavenDeps walks the transitive dep tree, collects Maven artifact
versions, and updates the plugin's buf.plugin.yaml before deduplication. This
ensures all downstream consumers have consistent versions and dedup succeeds.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants