I have a parent project and 2 child projects - all of them present in a directory.
Main Directory
|__Parent
|__Child 1
|__Child 2
Child 2 is dependent on Child 1. Parent has dependency-management defined with all the common dependencies of Child 1 and 2.
All the 3 projects' version is same. In child 2 pom's dependencies section, child 1 is listed without version and I'm getting dependencies.dependency.version missing error.
Is there any work around without adding child 1 to parent pom's dependency management section or explicitly having child 1's version in child 2's pom?