- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 1,437 for mirror (0.15 sec)
-
compat/maven-compat/src/test/java/org/apache/maven/repository/MirrorProcessorTest.java
Mirror mirrorB = newMirror("b", "b", "http://b"); Mirror mirrorC = newMirror("c", "d,e", "http://de"); Mirror mirrorC2 = newMirror("c", "*", "http://wildcard"); Mirror mirrorC3 = newMirror("c", "e,f", "http://ef"); List<Mirror> mirrors = Arrays.asList(mirrorA2, mirrorA, mirrorA3, mirrorB, mirrorC, mirrorC2, mirrorC3);
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 10.7K bytes - Viewed (0) -
apache-maven/src/assembly/maven/conf/settings.xml
| <mirror> <id>mirrorId</id> <mirrorOf>repositoryId</mirrorOf> <name>Human Readable Name for this Mirror.</name> <url>http://my.repository.com/repo/path</url> </mirror> --> <mirror> <id>maven-default-http-blocker</id> <mirrorOf>external:http:*</mirrorOf>
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Thu Oct 24 15:53:41 UTC 2024 - 11.1K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/repository/MirrorSelector.java
import org.apache.maven.settings.Mirror; /** * Handles the selection of mirrors for repositories. * */ @Deprecated public interface MirrorSelector { /** * Determines the mirror for the specified repository. * * @param repository The repository to determine the mirror for, must not be {@code null}. * @param mirrors The available mirrors, may be {@code null}.
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 1.5K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/bridge/MavenRepositorySystem.java
public static Mirror getMirror(ArtifactRepository repository, List<Mirror> mirrors) { String repoId = repository.getId(); if (repoId != null && mirrors != null) { for (Mirror mirror : mirrors) { if (repoId.equals(mirror.getMirrorOf()) && matchesLayout(repository, mirror)) { return mirror; } }
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/RepositorySystem.java
/** * Determines the mirror for the specified repository. * * @param repository The repository to determine the mirror for, must not be {@code null}. * @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);
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-compat/src/main/java/org/apache/maven/repository/DefaultMirrorSelector.java
String repoId = repository.getId(); if (repoId != null && mirrors != null) { for (Mirror mirror : mirrors) { if (repoId.equals(mirror.getMirrorOf()) && matchesLayout(repository, mirror)) { return mirror; } } 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) -
compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/LegacyRepositorySystem.java
if (repo != null) { Mirror mirror = new Mirror(); mirror.setId(repo.getId()); mirror.setUrl(repo.getUrl()); mirror.setLayout(repo.getContentType()); mirror.setBlocked(repo.isBlocked()); return mirror; } } } return null; }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 31.6K bytes - Viewed (0) -
compat/maven-embedder/src/main/java/org/apache/maven/cli/configuration/SettingsXmlConfigurationProcessor.java
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 12.1K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/execution/DefaultMavenExecutionRequest.java
} @Override public List<Mirror> getMirrors() { if (mirrors == null) { mirrors = new ArrayList<>(); } return mirrors; } @Override public MavenExecutionRequest setMirrors(List<Mirror> mirrors) { if (mirrors != null) { this.mirrors = new ArrayList<>(mirrors); } else { this.mirrors = null;
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 31.7K bytes - Viewed (0) -
compat/maven-settings-builder/src/test/java/org/apache/maven/settings/validation/DefaultSettingsValidatorTest.java
Settings settings = new Settings(); Mirror mirror = new Mirror(); mirror.setId("local"); settings.addMirror(mirror); mirror = new Mirror(); mirror.setId("illegal\\:/chars"); mirror.setUrl("http://void"); mirror.setMirrorOf("void"); settings.addMirror(mirror); SimpleProblemCollector problems = new SimpleProblemCollector();
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 8.6K bytes - Viewed (0)