If two dependences of a module both have a common depdnendency but have different versions specified in their poms, which version is used when building the module?
For example
Artifact-A
/ \
/ \
/ \
Artifact-B Artifact-C
\ /
1.6.0 \ / 1.8.0
\ /
Artifact-D
Similarly in the scenario detailed below what version of Artifact-C would Artifact-A use?
Artifact-A
| \
| |
| |
Artifact-B | 1.60.0
| |
1.62.0 | |
| /
Artifact-C
If you could provide or link to a concise explination of how maven resolves these versions.