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 pulsar-client-reactive-bom module #194

Merged
merged 1 commit into from
Nov 12, 2024
Merged

Conversation

onobc
Copy link
Contributor

@onobc onobc commented Nov 12, 2024

This commit introduces a BOM module to make consumption of the library more robust by avoid library version mismatches.

Resolves #193

This commit introduces a BOM module to make consumption of the library
more robust by avoid library version mismatches.

Resolves apache#193
@onobc onobc requested a review from lhotari November 12, 2024 04:01
@onobc onobc added the enhancement New feature or request label Nov 12, 2024
@onobc onobc added this to the 0.5.9 milestone Nov 12, 2024
@@ -50,6 +50,82 @@ With Maven:
</dependencies>
----

[[pulsar-client-reactive-bom]]
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Inspired by our works in Pulsar proper (here) but minimized a bit.

@@ -19,8 +19,7 @@

plugins {
id 'java-library'
id 'maven-publish'
id 'signing'
id 'pulsar-client-reactive.publish-conventions'
Copy link
Contributor Author

@onobc onobc Nov 12, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Note

I pulled the publishing piece out into its own plugin as the BOM uses java-platform and the library modules use java-project and they do not play well. Now each user of the publish conventions specifies the from XYZ part of the publications block.

Messing w/ publishing things can be scary. To easy the fear, I did a ./gradlew pTML before and after this change and then did a folder compare and made sure the poms and module files were identical before and after. Only the local versions w/ the particular timestamp entry in the files were modified. I am comfortable and confident that this change is not a risk in this regard.

Copy link
Member

@lhotari lhotari left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, good work @onobc!

@onobc onobc merged commit 7425ac2 into apache:main Nov 12, 2024
1 check passed
@onobc onobc deleted the GH-193-add-bom branch November 12, 2024 15:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add BOM module
2 participants