Skip to content

Remove junit.version property - #1122

Draft
Na Lou (nlou9) wants to merge 3540 commits into
8.0.xfrom
nlou/remove-junit-version-property
Draft

Na Lou (nlou9) wants to merge 3540 commits into
8.0.xfrom
nlou/remove-junit-version-property

Conversation

@nlou9

Copy link
Copy Markdown
Member

Summary

  • Removed junit.version and the redundant junit:junit dependencyManagement entry it fed — nothing in this pom declares a bare junit:junit dependency relying on it.
  • confluent-common-bom manages junit:junit at the same value (4.13.2), but downstream migration is nowhere close to done: 21 repos tracked, 0 merged, 5 open, 16 skipped.
  • Note: common's own entry pinned scope=test, while the BOM's entry has no explicit scope (defaults to compile) — same caveat as the spotbugs-annotations cleanup in Remove spotbugs.version property #1114: unverified whether any downstream repo's bare junit:junit dependency relies on inheriting that scope.
  • Draft — not ready to merge until downstream repos land their own migration PRs.

Test plan

  • CI passes on this repo
  • Confirm downstream migration status before merging

semaphore-agent-production Bot and others added 26 commits September 3, 2026 16:31
Merge Conflict Resolution (from 8.0.x to 8.1.x)
Merge Conflict Resolution (from 8.1.x to 8.2.x)
Merge Conflict Resolution (from 8.2.x to 8.3.x)
Merge Conflict Resolution (from 8.3.x to 8.4.x)
Merge Conflict Resolution (from 8.4.x to master)
Merge Conflict Resolution (from 8.4.x to master)
Merge Conflict Resolution (from 8.4.x to master)
Deleted the property and the redundant junit:junit dependencyManagement
entry it fed -- nothing in this pom declares a bare junit:junit
dependency relying on it. confluent-common-bom manages junit:junit at
the same value (4.13.2), but downstream migration is nowhere close to
done: 21 repos tracked, 0 merged, 5 open, 16 skipped. As with
spotbugs-annotations, note that common's own entry pinned scope=test
while the BOM's entry has no explicit scope (defaults to compile) --
unverified whether any downstream repo's bare junit:junit dependency
relies on inheriting that scope. Opening as a draft pending downstream
completion.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Copilot AI lite review requested due to automatic review settings September 11, 2026 22:00

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🟡 Changes recommended

Downstream migrations or verification are needed before removing the test-scoped entry.

Get a fresh assessment by requesting another Copilot review.

Pull request overview

Removes redundant JUnit 4 version and dependency-management configuration from the Maven POM, relying on the imported BOM.

Changes:

  • Removes junit.version.
  • Removes the local junit:junit management entry.
File summaries
File Summary
pom.xml Removes redundant JUnit management; downstream consumers require migration or verification to avoid inheriting compile scope.
Review details
  • Files reviewed: 1/1 changed files
  • Comments generated: 1
  • Review effort level: Lite

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread pom.xml
@@ -399,12 +398,6 @@
</dependency>

<!--test deps-->
@nlou9
Na Lou (nlou9) changed the base branch from master to 8.0.x September 14, 2026 19:03
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.

7 participants