Re: Transitive dependencies and version management

2017-08-18 Thread Anders Hammar
What you would do is that you specify the version of C in dependencyManagement of A. When you then build A, the specified version of C will be used regardless of what version is specified in B. However, for thsi to work in runtime this requires the specified version of C to be compatible with the

Re: Transitive dependencies and version management

2017-08-17 Thread Russell Gold
Have you considered using snapshot versions for C? If both A and B depend on a snapshot, they will automatically take the latest version in the repository. https://stackoverflow.com/questions/5901378/what-exactly-is-a-maven-snapshot-and-why-do-we-need-it#5901460 > On Aug 17, 2017, at 8:34 PM,