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)

Reply via email to