-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
[improve][broker] Include runtime dependencies in server distribution #22001
[improve][broker] Include runtime dependencies in server distribution #22001
Conversation
Perhaps we should double-check by making a diff between the included JARs in the before and after versions? |
This is actually done by the license checked script :) The list there needs to match the jars included |
@merlimat pointed out that the license check essentially achieves this already. For extra caution, here's the assembly 145d144
< javax.annotation-javax.annotation-api-1.3.2.jar
296a296
> org.roaringbitmap-shims-0.9.44.jar |
…apache#22001) (cherry picked from commit 57025bc) (cherry picked from commit 3670515)
…apache#22001) (cherry picked from commit 57025bc) (cherry picked from commit cdd40e1)
…apache#22001) (cherry picked from commit 57025bc) (cherry picked from commit cdd40e1)
…apache#22001) (cherry picked from commit 57025bc) (cherry picked from commit 3670515)
…apache#22001) (cherry picked from commit 57025bc) (cherry picked from commit cdd40e1)
…apache#22001) (cherry picked from commit 57025bc) (cherry picked from commit 3670515)
Motivation
The server distribution assembly does not currently include artifact runtime dependencies, pulling only the compile dependencies instead. While this has not impacted the customers, a class loading issue can always crop up. This is what happened while importing OpenTelemetry dependencies related to PIP-320. OpenTelemetry itself marks its many dependencies as
runtime
(see, for instance, https://mvnrepository.com/artifact/io.opentelemetry/opentelemetry-exporter-otlp/1.34.1). Including each of them manually in our POM is both tedious and error-prone.Modifications
runtime
.org.roaringbitmap-shims-0.9.44.jar
to be included in the assembly.lombok
as it is not needed anymore.Verifying this change
This change is already covered by existing integration tests.
Does this pull request potentially affect one of the following parts:
If the box was checked, please highlight the changes
Documentation
doc
doc-required
doc-not-needed
doc-complete
Matching PR in forked repository
PR in forked repository: dragosvictor#9