I have a parent-pom.xml which declares a dependency A v1.0 which transitively depends on B v1.0 in <dependencyManagement>
section.
My child-pom.xml references A v1.0 in <dependencies>
section. However, the code of the child project also uses classes from dependency B v1.0.
The code of the child project compiles and runs without explicitly referencing B v1.0 because Maven resolves it transitively via A v1.0. What are the downsides of not explicitly referencing B v1.0 in <dependencies>
section?