[ http://jira.codehaus.org/browse/MNG-670?page=comments#action_78982 ] Baerrach bonDierne commented on MNG-670: ----------------------------------------
Linked to MNG-2645 which requests better error message reporting so that warning display the cuplrit for bad scoping. > warn when local dependency scope is vetoed > ------------------------------------------ > > Key: MNG-670 > URL: http://jira.codehaus.org/browse/MNG-670 > Project: Maven 2 > Issue Type: Improvement > Components: Artifacts and Repositories > 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