[ http://jira.codehaus.org/browse/MNG-670?page=all ]
     
Brett Porter closed MNG-670:
----------------------------

    Resolution: Fixed

> warn when local dependency scope is vetoed
> ------------------------------------------
>
>          Key: MNG-670
>          URL: http://jira.codehaus.org/browse/MNG-670
>      Project: Maven 2
>         Type: Improvement
>   Components: maven-artifact
>     Reporter: Brett Porter
>      Fix For: 2.0-beta-1

>
>
> currently, you might set scope = test on junit in your local POM, and it ends 
> up being a compile time dependency, because something you depended on 
> declared it that way. This is correct behaviour (avoids hiding an error), but 
> unintuitive when you really intended it to be test and "know better" than 
> your dependency did.
> A big warning should be introduced here. To actually state you know better, 
> you must still use a dependencyManagement element.

-- 
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


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to