You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Slawomir Jaranowski (Jira)" <ji...@apache.org> on 2022/02/16 11:50:00 UTC
[jira] [Created] (MDEP-793) ignoredUsedUndeclaredDependencies not affected to non-test scoped
Slawomir Jaranowski created MDEP-793:
----------------------------------------
Summary: ignoredUsedUndeclaredDependencies not affected to non-test scoped
Key: MDEP-793
URL: https://issues.apache.org/jira/browse/MDEP-793
Project: Maven Dependency Plugin
Issue Type: Bug
Components: analyze
Reporter: Slawomir Jaranowski
When we add some of artifacts to *{{ignoredUsedUndeclaredDependencies}}* and use classes from this artifacts only in test code we have reported it as *{{non-test scoped}}*.
In order pass *{{non-test scoped}}* check we must add artifacts to project .... but we want to avoid adding according to *{{ignoredUsedUndeclaredDependencies}}*
Logs from executing:
{code}
[WARNING] Non-test scoped test only dependencies found:
[WARNING] joda-time:joda-time:jar:2.10:compile
[INFO] Ignored used undeclared dependencies:
[INFO] joda-time:joda-time:jar:2.10:compile
...
{code}
--
This message was sent by Atlassian Jira
(v8.20.1#820001)