- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 28 for getMirror (0.06 sec)
-
compat/maven-compat/src/test/java/org/apache/maven/repository/MirrorProcessorTest.java
assertSame(mirrorA, mirrorSelector.getMirror(getRepo("a", "http://a.a"), mirrors)); assertSame(mirrorB, mirrorSelector.getMirror(getRepo("b", "http://a.a"), mirrors)); assertSame(mirrorC2, mirrorSelector.getMirror(getRepo("c", "http://c.c"), mirrors)); assertSame(mirrorC, mirrorSelector.getMirror(getRepo("d", "http://d"), mirrors));
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 10.7K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/repository/MirrorSelector.java
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 1.5K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/LegacyRepositorySystem.java
} else { effectivePolicy.merge(policy); } } return effectivePolicy; } public Mirror getMirror(ArtifactRepository repository, List<Mirror> mirrors) { return mirrorSelector.getMirror(repository, mirrors); } public void injectMirror(List<ArtifactRepository> repositories, List<Mirror> mirrors) {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 31.6K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/bridge/MavenRepositorySystem.java
if (repositories != null && mirrors != null) { for (ArtifactRepository repository : repositories) { Mirror mirror = getMirror(repository, mirrors); injectMirror(repository, mirror); } } } private Mirror getMirror(RepositorySystemSession session, ArtifactRepository repository) { if (session != null) {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 32.6K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/repository/DefaultMirrorSelector.java
private static final String WILDCARD = "*"; private static final String EXTERNAL_WILDCARD = "external:*"; private static final String EXTERNAL_HTTP_WILDCARD = "external:http:*"; public Mirror getMirror(ArtifactRepository repository, List<Mirror> mirrors) { String repoId = repository.getId(); if (repoId != null && mirrors != null) { for (Mirror mirror : mirrors) {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 8K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/internal/aether/LegacyRepositorySystemSessionExtender.java
injectProxy(proxySelector, mavenExecutionRequest.getRemoteRepositories()); injectAuthentication(authenticationSelector, mavenExecutionRequest.getRemoteRepositories()); injectMirror(mavenExecutionRequest.getPluginArtifactRepositories(), mavenExecutionRequest.getMirrors());
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 6.7K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/artifact/manager/DefaultWagonManager.java
} @Deprecated public ArtifactRepository getMirrorRepository(ArtifactRepository repository) { Mirror mirror = mirrorSelector.getMirror( repository, legacySupport.getSession().getSettings().getMirrors()); if (mirror != null) { String id = mirror.getId(); if (id == null) { // TODO this should be illegal in settings.xml
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 6.4K bytes - Viewed (0) -
compat/maven-compat/src/test/java/org/apache/maven/repository/TestRepositorySystem.java
} @Override public List<ArtifactRepository> getEffectiveRepositories(List<ArtifactRepository> repositories) { return repositories; } @Override public Mirror getMirror(ArtifactRepository repository, List<Mirror> mirrors) { return null; } @Override public void injectAuthentication(List<ArtifactRepository> repositories, List<Server> servers) {}
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 12K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/repository/RepositorySystem.java
* @param mirrors The available mirrors, may be {@code null}. * @return The mirror specification for the repository or {@code null} if no mirror matched. */ Mirror getMirror(ArtifactRepository repository, List<Mirror> mirrors); /** * Injects the mirroring information into the specified repositories. For each repository that is matched by a
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 7.7K bytes - Viewed (0) -
compat/maven-settings-builder/src/main/java/org/apache/maven/settings/merge/MavenSettingsMerger.java
|| dominant.getLocalRepository().isEmpty()) { dominant.setLocalRepository(recessive.getLocalRepository()); } shallowMergeById(dominant.getMirrors(), recessive.getMirrors(), recessiveSourceLevel); shallowMergeById(dominant.getServers(), recessive.getServers(), recessiveSourceLevel); shallowMergeById(dominant.getProxies(), recessive.getProxies(), recessiveSourceLevel);
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 4.5K bytes - Viewed (0)