[
http://jira.codehaus.org/browse/MNG-3978?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=160549#action_160549
]
Paul Benedict commented on MNG-3978:
------------------------------------
Why is this new behavior desirable? Based on the issue description, I am lead
to believe that every dependency must have its scope declared if it is
different than the default scope. I try to specify scopes in
dependencyManagement and not re-specify them when actually declared.
> Parent Pom Dependency Scope overrides Child Pom Dependency Default Scope
> ------------------------------------------------------------------------
>
> Key: MNG-3978
> URL: http://jira.codehaus.org/browse/MNG-3978
> Project: Maven 2
> Issue Type: Bug
> Components: Inheritance and Interpolation
> Affects Versions: 3.0-alpha-1
> Reporter: Shane Isbell
> Assignee: Shane Isbell
> Fix For: 3.0-alpha-2
>
>
> If parent pom specifies a scope within a dependency and the child does not
> specify scope, the child inherits the parent dependency scope. This is wrong:
> the child should use the default scope.
--
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