fix(java): use dependencyManagement
from root/child pom's for dependencies from parents [backport: release/v0.55]
#7521
+223
−3