maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tibor Digana (JIRA)" <j...@codehaus.org>
Subject [jira] (MNG-2589) Inherit transitive dependencies with runtime scope
Date Thu, 28 Nov 2013 09:26:45 GMT

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

Tibor Digana edited comment on MNG-2589 at 11/28/13 3:25 AM:
-------------------------------------------------------------

I agree with MNG-2205, but this proposal is different from MNG-2205.
This proposal would break many users. 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.
                
      was (Author: tibor17):
    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

Mime
View raw message