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 2019/12/23 12:31:00 UTC

[jira] [Commented] (MNG-6158) Duplicate transitive dependency with provided and runtime scopes

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

Elliotte Rusty Harold commented on MNG-6158:
--------------------------------------------

makes sense

> Duplicate transitive dependency with provided and runtime scopes
> ----------------------------------------------------------------
>
>                 Key: MNG-6158
>                 URL: https://issues.apache.org/jira/browse/MNG-6158
>             Project: Maven
>          Issue Type: Bug
>          Components: Dependencies
>    Affects Versions: 3.3.9
>            Reporter: Stanislav Spiridonov
>            Priority: Minor
>              Labels: needs-attention
>
> I have in project duplicate transitive dependency with *provided* and *runtime* scopes (from different direct dependencies).
> Now the final scope of such dependency are resolved to *runtime*. 
> I sure that resolved scope should be *compile* because by *provided* scope the dependency MUST be in compile classpath and by *runtime* scope the dependency MUST be in runtime



--
This message was sent by Atlassian Jira
(v8.3.4#803005)