You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Elliotte Rusty Harold (Jira)" <ji...@apache.org> on 2023/03/16 11:41:00 UTC

[jira] [Commented] (MSHARED-1204) Consider special casing slf4j-simple et al

    [ https://issues.apache.org/jira/browse/MSHARED-1204?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17701109#comment-17701109 ] 

Elliotte Rusty Harold commented on MSHARED-1204:
------------------------------------------------

mvn-compat is another one that can in fact be required, even more strongly than slf4j-simple, but the analyzer misreports as unused

> Consider special casing slf4j-simple et al
> ------------------------------------------
>
>                 Key: MSHARED-1204
>                 URL: https://issues.apache.org/jira/browse/MSHARED-1204
>             Project: Maven Shared Components
>          Issue Type: New Feature
>          Components: maven-dependency-analyzer
>            Reporter: Elliotte Rusty Harold
>            Priority: Major
>
>  slf4j-simple is sometimes added to classpaths to shut up annoying warnings from SLF4J at run and test time, even though it isn't absolutely required. Can we do better with our analysis of the common case and similar ones, rather than reporting it as declared but unused?
> ```
>     <dependency>
>       <groupId>org.slf4j</groupId>
>       <artifactId>slf4j-simple</artifactId>
>       <scope>test</scope>
>     </dependency>
> ```



--
This message was sent by Atlassian Jira
(v8.20.10#820010)