gnodet-bot commented on code in PR #14136:
URL: https://github.com/apache/maven/pull/14136#discussion_r4714243883
##########
pom.xml:
##########
@@ -962,6 +968,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 enforcer `<message>` still only mentions `plexus-cipher` and
`plexus-sec-dispatcher`. Now that `jcl-over-slf4j` is also banned here, a
developer hitting this rule will get a confusing error message. Update the
message (and consider renaming the execution `<id>` while you're at 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]