damccorm opened a new pull request, #40530:
URL: https://github.com/apache/beam/pull/40530

   ## Summary
   
   Fixes invalid Maven POM generation for 
`beam-runners-google-cloud-dataflow-java` introduced after #40352 promoted 
`opentelemetry_exporter_otlp` and `opentelemetry_extension_autoconfigure` from 
`runtimeOnly` to `implementation`:
   
   1. **Import `opentelemetry_bom` in 
`runners/google-cloud-dataflow-java/build.gradle`**: Matches `sdks/java/core`, 
`sdks/java/io/google-cloud-platform`, `sdks/java/io/kafka`, and 
`sdks/java/extensions/opentelemetry-gcp-auth-extension` so 
`io.opentelemetry:opentelemetry-bom-alpha` is included in 
`<dependencyManagement>` of the published POM.
   2. **Set explicit `$opentelemetry_version` on OpenTelemetry entries in 
`BeamModulePlugin.groovy`** (and remove the duplicate 
`opentelemetry_sdk_testing` key): Follows #38518 so `io.opentelemetry` 
dependencies always emit an explicit `<version>` in published POMs even if a 
module does not import `opentelemetry-bom`.
   
   Also fixes the `PostRelease Nightly Snapshot` workflow (#30505) which has 
been failing on Maven archetype dependency resolution for 
`beam-runners-google-cloud-dataflow-java`.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to