Skip to content

Make protobuf runtime selection explicit#904

Merged
snazy merged 1 commit into
projectnessie:mainfrom
snazy:proto-rt-expl
Jul 17, 2026
Merged

Make protobuf runtime selection explicit#904
snazy merged 1 commit into
projectnessie:mainfrom
snazy:proto-rt-expl

Conversation

@snazy

@snazy snazy commented Jul 16, 2026

Copy link
Copy Markdown
Member

cel-core exposed cel-generated-pb transitively even though consumers may need the protobuf 3 generated classes instead. That made cel-core plus cel-generated-pb3 resolve two providers for the same generated CEL protobuf classes.

Stop publishing a generated protobuf flavor from core-level artifacts, require consumers and repo modules to choose one explicitly, and cover both choices in the build-tool integration sample.

The standalone jar must include relocated generated CEL protobuf classes because its public API references those relocated types and standalone consumers may use it non-transitively.

Build the shadow jar from compileClasspath so compile-only generated protobuf and protobuf runtime inputs are included without pulling Jackson runtime dependencies into the standalone artifact.

cel-core exposed cel-generated-pb transitively even though consumers may need the protobuf 3 generated classes instead. That made cel-core plus cel-generated-pb3 resolve two providers for the same generated CEL protobuf classes.

Stop publishing a generated protobuf flavor from core-level artifacts, require consumers and repo modules to choose one explicitly, and cover both choices in the build-tool integration sample.

The standalone jar must include relocated generated CEL protobuf classes because its public API references those relocated types and standalone consumers may use it non-transitively.

Build the shadow jar from compileClasspath so compile-only generated protobuf and protobuf runtime inputs are included without pulling Jackson runtime dependencies into the standalone artifact.
@snazy
snazy requested a review from XN137 July 16, 2026 15:54
@snazy
snazy merged commit e3dd684 into projectnessie:main Jul 17, 2026
2 checks passed
@snazy
snazy deleted the proto-rt-expl branch July 17, 2026 07:50
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.

2 participants