[ http://jira.codehaus.org/browse/MNG-2589?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=133032#action_133032 ]
Benjamin Bentmann commented on MNG-2589: ---------------------------------------- Just as to clarify why the current behavior is as is: See the [note on dependency scope|http://maven.apache.org/guides/introduction/introduction-to-dependency-mechanism.html#Dependency_Scope] on the Maven site. Seems to be a "better safe than sorry" approach. > Inherit transitive dependencies with runtime scope > -------------------------------------------------- > > Key: MNG-2589 > URL: http://jira.codehaus.org/browse/MNG-2589 > Project: Maven 2 > Issue Type: Improvement > Components: Dependencies > Affects Versions: 2.0.4 > Reporter: Joerg Schaible > Fix For: 2.1 > > > 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 contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira