Skip to content

Verify if skipped submodule POMs contain hardcoded versions#15816

Merged
siddharthteotia merged 65 commits intoapache:masterfrom
leujean02:master
May 16, 2025
Merged

Verify if skipped submodule POMs contain hardcoded versions#15816
siddharthteotia merged 65 commits intoapache:masterfrom
leujean02:master

Conversation

@leujean02
Copy link
Copy Markdown
Contributor

Minor fix from #15739, which installs the Maven Enforcer plugin with custom rules to validate dependency declarations and enforce the Dependency Management Guidelines across all POM files in Pinot. This PR verifies if any skipped submodules (e.g. pinot-plugins, pinot-connectors etc.) POMs contain hardcoded versions

"Root POM has hardcoded version '%s' in <dependencyManagement> for %s:%s. "
+ "Please refer to https://docs.pinot.apache.org/developers/developers-and-contributors"
+ "/dependency-management for the best practice",
d.getVersion(), d.getGroupId(), d.getArtifactId()
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

What would be the value project.getArtifactId() for the root POM?

@codecov-commenter
Copy link
Copy Markdown

codecov-commenter commented May 15, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 63.37%. Comparing base (1a476de) to head (6151cb4).
Report is 94 commits behind head on master.

Additional details and impacted files
@@             Coverage Diff              @@
##             master   #15816      +/-   ##
============================================
+ Coverage     62.90%   63.37%   +0.47%     
- Complexity     1386     1394       +8     
============================================
  Files          2867     2898      +31     
  Lines        163354   165899    +2545     
  Branches      24952    25383     +431     
============================================
+ Hits         102755   105140    +2385     
+ Misses        52847    52817      -30     
- Partials       7752     7942     +190     
Flag Coverage Δ
custom-integration1 100.00% <ø> (ø)
integration 100.00% <ø> (ø)
integration1 100.00% <ø> (ø)
integration2 0.00% <ø> (ø)
java-11 63.33% <ø> (+0.46%) ⬆️
java-21 63.33% <ø> (+0.51%) ⬆️
skip-bytebuffers-false ?
skip-bytebuffers-true ?
temurin 63.37% <ø> (+0.47%) ⬆️
unittests 63.37% <ø> (+0.47%) ⬆️
unittests1 56.41% <ø> (+0.59%) ⬆️
unittests2 33.48% <ø> (-0.10%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

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

🚀 New features to boost your workflow:
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Copy link
Copy Markdown

@UOETianleZhang UOETianleZhang left a comment

Choose a reason for hiding this comment

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

LGTM. Thanks for fixing it

@siddharthteotia siddharthteotia merged commit 56f1ce7 into apache:master May 16, 2025
17 checks passed
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.

4 participants