maven-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christian Schulte>
Subject Re: Question regarding repository overriding.
Date Thu, 15 Dec 2016 00:03:27 GMT
Am 12/14/16 um 20:41 schrieb Stephen Connolly:
> definition nearest to the project should win is the principle that has been
> in force...

That's what Maven core developers had in mind. Maven resolver developers
did the opposite. See this class:


The dominant repository is the first declaration found. For example:

A (declares central) -> B (declares central) -> C (declares central)

The repository URL in use will always be the one declared for A. Only
mirror definitions of B and C will be merged. In Maven core the URL of
the central repository declaration of B and C would be used.


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message