Skip to content

Comments

build(deps): use junit-bom for centralized JUnit version management#358

Closed
Copilot wants to merge 2 commits intodependabot/maven/junit-jupiter.version-6.0.3from
copilot/sub-pr-357
Closed

build(deps): use junit-bom for centralized JUnit version management#358
Copilot wants to merge 2 commits intodependabot/maven/junit-jupiter.version-6.0.3from
copilot/sub-pr-357

Conversation

Copy link

Copilot AI commented Feb 19, 2026

Replace individual junit-jupiter.version and junit-platform.version properties with org.junit:junit-bom imported in dependencyManagement, so JUnit artifact versions are aligned via BOM rather than manually tracked properties.

Changes

  • dependencyManagement: Add org.junit:junit-bom as a BOM import scoped to ${junit-jupiter.version}
  • Properties: Remove junit-platform.version (now governed by the BOM)
  • Dependencies: Strip explicit <version> from junit-platform-engine, junit-platform-launcher, junit-jupiter-engine, junit-jupiter-params
  • Plugin deps: Retain ${junit-jupiter.version} on junit-vintage-engine in surefire/failsafe — Maven BOM imports do not apply to plugin dependencies

💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

Co-authored-by: alespour <42931850+alespour@users.noreply.github.com>
Copilot AI changed the title [WIP] Update junit-jupiter.version from 5.14.3 to 6.0.3 build(deps): use junit-bom for centralized JUnit version management Feb 19, 2026
Copilot AI requested a review from alespour February 19, 2026 21:51
@alespour alespour closed this Feb 19, 2026
@codecov
Copy link

codecov bot commented Feb 19, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
⚠️ Please upload report for BASE (dependabot/maven/junit-jupiter.version-6.0.3@4ed90eb). Learn more about missing BASE report.

Additional details and impacted files
@@                               Coverage Diff                               @@
##             dependabot/maven/junit-jupiter.version-6.0.3     #358   +/-   ##
===============================================================================
  Coverage                                                ?   87.27%           
===============================================================================
  Files                                                   ?       20           
  Lines                                                   ?     1336           
  Branches                                                ?      227           
===============================================================================
  Hits                                                    ?     1166           
  Misses                                                  ?       81           
  Partials                                                ?       89           

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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

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.

2 participants