Force Maven to use latest dependency among the ones present in dependency tree
<p>I understand Maven's behavior whenever it finds more than one version of the same dependency is to choose the one closer to the dependency root. If more than one are same as close, then it will choose the first one it finds.</p>

<p>Is there a way to change this behavior and make it simply pick the highest version?</p>