public interface MirrorSelector
| Modifier and Type | Method and Description |
|---|---|
org.apache.maven.settings.Mirror |
getMirror(org.apache.maven.artifact.repository.ArtifactRepository repository,
java.util.List<org.apache.maven.settings.Mirror> mirrors)
Determines the mirror for the specified repository.
|
org.apache.maven.settings.Mirror getMirror(org.apache.maven.artifact.repository.ArtifactRepository repository,
java.util.List<org.apache.maven.settings.Mirror> mirrors)
repository - The repository to determine the mirror for, must not be null.mirrors - The available mirrors, may be null.null if no mirror matched.