Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 582 for mirror (0.18 sec)

  1. 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);
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 05:46:50 GMT 2024
    - 10.7K bytes
    - Viewed (0)
  2. 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;
                    }
                }
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Sat Feb 17 18:40:11 GMT 2024
    - 32.6K bytes
    - Viewed (0)
  3. maven-api-impl/src/main/java/org/apache/maven/internal/impl/DefaultSettingsValidator.java

                }
            }
    
            List<Mirror> mirrors = settings.getMirrors();
    
            if (mirrors != null) {
                for (Mirror mirror : mirrors) {
                    validateStringNotEmpty(problems, "mirrors.mirror.id", mirror.getId(), mirror.getUrl());
    
                    validateBannedCharacters(
                            problems,
                            "mirrors.mirror.id",
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Mar 25 10:50:01 GMT 2024
    - 13.7K bytes
    - Viewed (0)
  4. 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;
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 31K bytes
    - Viewed (0)
  5. api/maven-api-settings/src/main/mdo/settings.mdo

        }
    
        @Deprecated
        public Mirror getMirrorOf(String repositoryId) {
            Mirror match = null;
            java.util.List<Mirror> mirrors = getMirrors();
            if (mirrors != null && repositoryId != null) {
                for (Mirror mirror : mirrors) {
                    if (repositoryId.equals(mirror.getMirrorOf())) {
                        match = mirror;
                        break;
                    }
    XML
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Sat Feb 17 18:40:11 GMT 2024
    - 33.3K bytes
    - Viewed (0)
  6. 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;
        }
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Sep 14 11:48:15 GMT 2023
    - 31.6K bytes
    - Viewed (0)
  7. 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>
    XML
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Jun 19 15:06:01 GMT 2023
    - 11K bytes
    - Viewed (0)
  8. maven-core/src/main/java/org/apache/maven/execution/MavenExecutionRequest.java

        MavenExecutionRequest setServers(List<Server> servers);
    
        MavenExecutionRequest addServer(Server server);
    
        // Mirrors
        List<Mirror> getMirrors();
    
        MavenExecutionRequest setMirrors(List<Mirror> mirrors);
    
        MavenExecutionRequest addMirror(Mirror mirror);
    
        // Plugin groups
        List<String> getPluginGroups();
    
        MavenExecutionRequest setPluginGroups(List<String> pluginGroups);
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Dec 20 13:03:57 GMT 2023
    - 17.7K bytes
    - Viewed (0)
  9. maven-core/src/main/java/org/apache/maven/internal/aether/DefaultRepositorySystemSessionFactory.java

            for (Mirror mirror : request.getMirrors()) {
                mirrorSelector.add(
                        mirror.getId(),
                        mirror.getUrl(),
                        mirror.getLayout(),
                        false,
                        mirror.isBlocked(),
                        mirror.getMirrorOf(),
                        mirror.getMirrorOfLayouts());
            }
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 14:13:36 GMT 2024
    - 27.5K bytes
    - Viewed (0)
  10. maven-compat/src/test/java/org/apache/maven/repository/TestRepositorySystem.java

            return repositories;
        }
    
        public Mirror getMirror(ArtifactRepository repository, List<Mirror> mirrors) {
            return null;
        }
    
        public void injectAuthentication(List<ArtifactRepository> repositories, List<Server> servers) {}
    
        public void injectMirror(List<ArtifactRepository> repositories, List<Mirror> mirrors) {}
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 05:46:50 GMT 2024
    - 11.7K bytes
    - Viewed (0)
Back to top