You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Tibor Digana (JIRA)" <ji...@codehaus.org> on 2013/11/28 10:26:45 UTC

[jira] (MNG-2589) Inherit transitive dependencies with runtime scope

    [ https://jira.codehaus.org/browse/MNG-2589?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=336483#comment-336483 ] 

Tibor Digana commented on MNG-2589:
-----------------------------------

I agree with MNG-2205, but this proposal is different from MNG-2205.
This proposal would break many user. It is not logical to have such workaround.
The most important fact is to have a fix for MNG-2205 because you should be able to change the scope for all/any inherited dependencies.
The Maven is declarative and thus making NO such asumptions about this kind of scope of changes should be made unless directly specified in POM xml.
                
> Inherit transitive dependencies with runtime scope
> --------------------------------------------------
>
>                 Key: MNG-2589
>                 URL: https://jira.codehaus.org/browse/MNG-2589
>             Project: Maven 2 & 3
>          Issue Type: Improvement
>          Components: Dependencies
>    Affects Versions: 2.0.4
>            Reporter: Jörg Schaible
>             Fix For: Issues to be reviewed for 3.x
>
>
> Transitive dependencies of scope "compile" should be inherited with scope "runtime" only. This would avoid unwanted usage of 3rd party packages and make explicit dependencies visible. It should be possible at least to run Maven in such a mode.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira