definition nearest to the project should win is the principle that has been in force...
when the definition is coming from a dependency, however, the concept of distance can become confused - especially given how the dependency graph is version conflict reduced On 13 December 2016 at 01:32, Christian Schulte <[email protected]> wrote: > Consider these projects: > > P1 declares a repository with id 'central' and a dependency on D1 > available in that repository. > > D1 declares a repository with id 'central' with a different URL and has > a dependency management import declaration on D2. > > When importing D2 into the effective model of D1, which repository > should be used? Does the 'central' repository definition in D1 override > the 'central' repository definition in P1? How would you expect Maven to > behave? > > Regards, > -- > Christian > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > >
