You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2024/11/12 17:48:00 UTC
[jira] [Commented] (MDEP-957) Special case slf4j-simple et al to not report used but undeclared
[ https://issues.apache.org/jira/browse/MDEP-957?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17897678#comment-17897678 ]
ASF GitHub Bot commented on MDEP-957:
-------------------------------------
elharo merged PR #460:
URL: https://github.com/apache/maven-dependency-plugin/pull/460
> Special case slf4j-simple et al to not report used but undeclared
> -----------------------------------------------------------------
>
> Key: MDEP-957
> URL: https://issues.apache.org/jira/browse/MDEP-957
> Project: Maven Dependency Plugin
> Issue Type: New Feature
> Reporter: Elliotte Rusty Harold
> Assignee: Elliotte Rusty Harold
> Priority: Major
> Fix For: 3.8.1
>
>
> Originally reported in https://issues.apache.org/jira/browse/MSHARED-1204?filter=-1
> slf4j-simple is often deliberately 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)