I have a project with 5 modules.
2 of the modules have a dependency of hibernate. they are siblings and not parent child hence one cannot inherit another one\'s dep
Consider using a separate project to model the set of dependencies, and then depend on that project. This is more flexible than trying to model it in your parent hierarchy somehow.