Skip to content

[Backport maven-4.0.x] #14110: [#14019] Use Commons Logging in Maven Core and the CLI - #14148

Open
gnodet wants to merge 1 commit into
apache:maven-4.0.xfrom
gnodet:backport/14019-commons-logging-4.0.x
Open

gnodet wants to merge 1 commit into
apache:maven-4.0.xfrom
gnodet:backport/14019-commons-logging-4.0.x

Conversation

@gnodet

@gnodet gnodet commented Nov 27, 2026

Copy link
Copy Markdown
Contributor

Backport of #14110 (merged to maven-3.10.x) to maven-4.0.x.

Changes

Replace jcl-over-slf4j with commons-logging:1.4.0 in:

  • compat/maven-resolver-provider: direct runtime dependency swapped
  • apache-maven: CLI distribution uses commons-logging; Wagon HTTP transitive bridge excluded

Manage commons-logging:1.4.0 centrally in the root POM and ban jcl-over-slf4j (compile/runtime scopes) via the existing Enforcer rule to prevent regression. Test-scoped usage (e.g. in maven-impl) is allowed and not affected.

The Enforcer <message> has been updated to mention jcl-over-slf4j alongside the existing plexus-cipher/plexus-sec-dispatcher entries so developers hitting the rule get a clear error.

Addresses #14019 on maven-4.0.x.

Cherry-picked from #14110 (285bac9).

…ackport)

Port of apache#14110 (merged to maven-3.10.x) to maven-4.0.x.

Replace jcl-over-slf4j with commons-logging:1.4.0 in:
- compat/maven-resolver-provider: direct runtime dependency swapped
- apache-maven: CLI distribution uses commons-logging; Wagon HTTP transitive bridge excluded

Manage commons-logging:1.4.0 centrally in root POM and ban
jcl-over-slf4j (compile/runtime scopes) via the existing Enforcer
rule to prevent regression. Test-scoped usage is allowed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant