Skip to content
New issue

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

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

Already on GitHub? # to your account

[fix][build] Add re2/j dependency to pulsar-common and client shading #22884

Merged
merged 1 commit into from
Jun 9, 2024

Conversation

lhotari
Copy link
Member

@lhotari lhotari commented Jun 9, 2024

Follow up on #22829 changes

Motivation

I noticed that pulsar-common didn't have an explicit re2/j dependency and client shading configs were missing. I also noticed that PulsarVersion should continue to use plain java.util.regex.Pattern.

Modifications

  • add explicit dependency to com.google.re2j:re2j to pulsar-common module
    • relying on an external transient dependency isn't recommended
  • add shading configs for com.google.re2j:re2j to pulsar-client-admin-shaded, pulsar-client-all and pulsar-client-shaded
  • revert changes to PulsarVersion since it doesn't contain user provided regex

Documentation

  • doc
  • doc-required
  • doc-not-needed
  • doc-complete

…ing configs

- add explicit dependency to pulsar-common module
- add shading configs to pulsar-client-admin-shaded, pulsar-client-all and pulsar-client-shaded
- revert changes to PulsarVersion since it doesn't use user provided regex
@lhotari lhotari added this to the 3.4.0 milestone Jun 9, 2024
@lhotari lhotari requested a review from merlimat June 9, 2024 08:44
@lhotari lhotari self-assigned this Jun 9, 2024
@github-actions github-actions bot added the doc-not-needed Your PR changes do not impact docs label Jun 9, 2024
@merlimat merlimat merged commit 30f7835 into apache:master Jun 9, 2024
57 of 60 checks passed
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
doc-not-needed Your PR changes do not impact docs ready-to-test
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants