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?

Thanks in advance,

Peter

Reply via email to