Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add protobuf_maven artifacts to protobuf_maven_dev as well so they ca… #20771

Merged
merged 1 commit into from
Mar 20, 2025

Conversation

zhangskz
Copy link
Member

…n still be referenced correctly using the dev namespace for dev-only targets.

Otherwise, protobuf_maven_dev may provide a different version from a transitive dep, which can result in the wrong version being selected (e.g. when used for bazel-generated maven artifacts).

Also updates protobuf_util_bundle to use protobuf_maven instead of protobuf_maven_dev which is probably more appropriate since its control the deps in the pom.xml file for maven users (though this is functionally the same rn).

Fixes #20710

PiperOrigin-RevId: 738887165

Cherry-pick of f4713e2

…n still be referenced correctly using the dev namespace for dev-only targets.

Otherwise, protobuf_maven_dev may provide a different version from a transitive dep, which can result in the wrong version being selected (e.g. when used for bazel-generated maven artifacts).

Also updates protobuf_util_bundle to use protobuf_maven instead of protobuf_maven_dev which is probably more appropriate since its control the deps in the pom.xml file for maven users (though this is functionally the same rn).

Fixes #20710

PiperOrigin-RevId: 738887165
@zhangskz zhangskz requested a review from a team as a code owner March 20, 2025 20:47
@zhangskz zhangskz requested review from shaod2 and mkruskal-google and removed request for a team March 20, 2025 20:47
@zhangskz zhangskz enabled auto-merge (squash) March 20, 2025 20:51
@zhangskz zhangskz merged commit 09b5078 into 30.x Mar 20, 2025
208 checks passed
@zhangskz zhangskz deleted the cp-maven-gson branch March 20, 2025 21:05
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.

None yet

2 participants