[
https://issues.apache.org/jira/browse/MSHARED-1204?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17707437#comment-17707437
]
Slawomir Jaranowski commented on MSHARED-1204:
----------------------------------------------
I would like to move such decisions to user of library. Library can be used for
other cases.
We use it in m-dependency-p and we have options to exclude some of artifacts,
maybe we can introduce a default items to exclude by m-dependency-p.
https://maven.apache.org/plugins/maven-dependency-plugin/examples/exclude-dependencies-from-dependency-analysis.html
> 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)