Ok, I think I got it, it picks up upstream managed depdendency only if it is directly referenced from
downstream project (in dependencies section), which, I guess, is the right thing to do.
The problem arises when you have a single transitive dependency changed and you want it
to be included in a webapp. In this case there is now direct dependency chain leading from webapp
to this dependency.
A good solution would require rebuilding all of the intermediate artifacts to ensure the stability of
the whole build, but for some commonly used dependencies there might be hundreds of such artifacts.
Did anyone have any luck with such a setup in jenkins?