gnodet-bot commented on code in PR #14137:
URL: https://github.com/apache/maven/pull/14137#discussion_r4716866972


##########
pom.xml:
##########
@@ -960,6 +966,9 @@ under the License.
                   <excludes>
                     
<exclude>org.sonatype.plexus:plexus-sec-dispatcher</exclude>
                     <exclude>org.sonatype.plexus:plexus-cipher</exclude>
+                    <!-- ban jcl-over-slf4j in compile/runtime scopes; test 
scope is allowed -->
+                    <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>

Review Comment:
   The error message no longer reflects all banned dependencies. Since 
`jcl-over-slf4j` is now also excluded, the message should cover it:
   
   ```suggestion
                      <message>ensure no more 
org.sonatype.plexus:plexus-cipher, org.sonatype.plexus:plexus-sec-dispatcher, 
or org.slf4j:jcl-over-slf4j (compile/runtime).</message>
   ```



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to