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

[Issue #7730] Add a RocketMQ BOM artifact #7732

Open
wants to merge 2 commits into
base: develop
Choose a base branch
from

Conversation

ppkarwasz
Copy link

Which Issue(s) This PR Fixes

Fixes #7730.

Brief Description

This PR implements the suggestion in Garret Wilson's blog on how to structure repositories containing a BOM artifact:

  • the rocketmq-all POM file is moved to parent/pom.xml and the relativePath attributes of all the other artifacts are updated,
  • a new rocketmq-bom artifact is created as parent POM for rocketmq-all. It contains:
    • all the common metadata about the project (description, URL, mailing lists, developer list, license and issue management),
    • it manages the version of all rocketmq-* artifacts in this repo and also rocketmq-proto,
  • since the URL inheritance model described in Maven Model Builder doesn't make sense for RocketMQ (e.g. the URL of each module is https://rocketmq.org not https://rocketmq.org/rocketmq-all/rocketmq-common), all the child.*.inherit.append.path options have been set to false.

How Did You Test This Change?

The change was tested with a mvn verify step and also by running:

mvn help:effective-pom

to check that the metadata of each artifact is correct.

@ppkarwasz ppkarwasz changed the title Rocketmq bom [Issue #7730] Add a RocketMQ BOM artifact Jan 13, 2024
Copy link

This PR is stale because it has been open for 365 days with no activity. It will be closed in 3 days if no further activity occurs. If you wish not to mark it as stale, please leave a comment in this PR.

@github-actions github-actions bot added the stale label Jan 13, 2025
We move `rocketmq-all` to the `parent` subdirectory and update all
relative paths in the children POMs.
Add a `rocketmq-bom` artifact that only manages RocketMQ dependency
versions. The previous `rocketmq-all` artifact is reparented to
`rocketmq-bom`.
@codecov-commenter
Copy link

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 47.97%. Comparing base (f6249e5) to head (10cfe28).

Additional details and impacted files
@@              Coverage Diff              @@
##             develop    #7732      +/-   ##
=============================================
- Coverage      48.02%   47.97%   -0.05%     
+ Complexity     12050    12048       -2     
=============================================
  Files           1320     1320              
  Lines          92846    92846              
  Branches       11898    11898              
=============================================
- Hits           44588    44545      -43     
- Misses         42748    42789      +41     
- Partials        5510     5512       +2     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@github-actions github-actions bot removed the stale label Jan 14, 2025
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.

[Enhancement] Create a rocketmq-bom artifact
2 participants