Hi!

On Thursday 25 June 2009 Peter Horlock wrote:
> Hi,
>
> I've got a question regarding dependency management -
> I've got a project with a default "tree layout" - it uses subprojects,
> which again are using subprojects which again...
>
> Now, one of these subprojects defined a dependency scope as "compile".
> It's "grand-grand-parent project" or the "root project" defined the same
> dependency as scope "test". Now the dependency was set to test and as a
> result
> was not added to the war when deployed. The error how ever was only found
> on runtime and the entire project failed on production! :-(
>
> Why is that so? Shouldn't dependency, if it is needed, stay there?

This problem was discussed just about a month ago. Here is the link to the 
thread: 
http://www.nabble.com/Transitive-and-inherited-dependencies---potential-bug,-or-my--misunderstanding-of-the-mechanism-to23403092.html#a23436523

hth,
- martin

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to