Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 451 for mirror (0.13 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. compat/maven-embedder/src/main/java/org/apache/maven/cli/configuration/SettingsXmlConfigurationProcessor.java

            }
    
            // <mirrors>
            //   <mirror>
            //     <id>nexus</id>
            //     <mirrorOf>*</mirrorOf>
            //     <url>http://repository.sonatype.org/content/groups/public</url>
            //   </mirror>
            // </mirrors>
    
            for (Mirror mirror : settings.getMirrors()) {
                request.addMirror(mirror);
            }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  7. impl/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());
            }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 25.8K bytes
    - Viewed (0)
  8. 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;
                    }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Tue Oct 08 13:46:42 UTC 2024
    - 33.5K bytes
    - Viewed (0)
  9. compat/maven-compat/src/test/java/org/apache/maven/repository/TestRepositorySystem.java

        }
    
        @Override
        public Mirror getMirror(ArtifactRepository repository, List<Mirror> mirrors) {
            return null;
        }
    
        @Override
        public void injectAuthentication(List<ArtifactRepository> repositories, List<Server> servers) {}
    
        @Override
        public void injectMirror(List<ArtifactRepository> repositories, List<Mirror> mirrors) {}
    
        @Override
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 12K bytes
    - Viewed (0)
  10. impl/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);
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 18.4K bytes
    - Viewed (0)
Back to top