That's my understanding... and if you have two conflicting hard dependencies for the same artifact with different versions then Maven should fail the build until you exclude the one you don't want with exclusions
On 4 July 2016 at 21:42, Christian Schulte <[email protected]> wrote: > Am 07/04/16 um 22:37 schrieb Stephen Connolly: > > 1.0 is just a hint, hints can be overridden > > By means of dependency mediation? So a "1.0" can be ignored during > dependency mediation due to e.g. the nearest wins strategy eliminating > that "1.0" but a "[1.0]" can never be eliminated by a nearer dependency > and Maven should fail if a nearer dependency does not meat that hard > requirement? A "[1.0]" will be selected over a "1.0" even when that is > not the nearest dependency? > > Thanks. > -- > Christian > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > >
