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:

<https://git-wip-us.apache.org/repos/asf?p=maven-resolver.git;a=blob;f=maven-resolver-impl/src/main/java/org/eclipse/aether/internal/impl/DefaultRemoteRepositoryManager.java;h=a1110b4347bc2a692de919a73edcf4020d07d740;hb=HEAD>

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.

Regards,
-- 
Christian


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to