I have an intricated Maven project with modules and subprojects up to four level of inheritance. Furthermore, some modules depend on modules which are not in the same "subtree" and I am wondering if I can avoid to express the version every time I have module dependency.
For example I have
a
-b
-c
-d
-e
Supposing module e
depends on c
, what is the best way to specify the version in a DRY manner?
If inside the pom.xml of module e
I don't specify which version of the c
module I want, my build will fail. Is there a smart way to handle this versioning problem?