This is an automated email from the ASF dual-hosted git repository.

gnodet pushed a commit to branch maven-4.0.x
in repository https://gitbox.apache.org/repos/asf/maven.git


The following commit(s) were added to refs/heads/maven-4.0.x by this push:
     new 9285391b54 Fix Enforcer message to mention jcl-over-slf4j ban (#14019 
follow-up) (#14149)
9285391b54 is described below

commit 9285391b545a0def902d973bee93490989476371
Author: Guillaume Nodet <[email protected]>
AuthorDate: Fri Nov 27 12:04:49 2026 +0100

    Fix Enforcer message to mention jcl-over-slf4j ban (#14019 follow-up) 
(#14149)
    
    The jcl-over-slf4j ban was added to the maven-4.0.x branch in #14137
    but the Enforcer <message> was not updated to mention it. A developer
    hitting this rule would only see plexus-cipher/plexus-sec-dispatcher in
    the error, which is confusing now that jcl-over-slf4j is also banned.
---
 pom.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pom.xml b/pom.xml
index 0d901af813..43c1985091 100644
--- a/pom.xml
+++ b/pom.xml
@@ -970,7 +970,7 @@ under the License.
                     <exclude>org.slf4j:jcl-over-slf4j:*:jar:compile</exclude>
                     <exclude>org.slf4j:jcl-over-slf4j:*:jar:runtime</exclude>
                   </excludes>
-                  <message>ensure no more org.sonatype.plexus:plexus-cipher 
and org.sonatype.plexus:plexus-sec-dispatcher.</message>
+                  <message>ensure no more org.sonatype.plexus:plexus-cipher, 
org.sonatype.plexus:plexus-sec-dispatcher, or org.slf4j:jcl-over-slf4j 
(compile/runtime).</message>
                 </bannedDependencies>
               </rules>
               <fail>true</fail>

Reply via email to