Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 28 of 28 for getMirror (0.11 sec)

  1. impl/maven-core/src/main/java/org/apache/maven/execution/DefaultMavenExecutionRequestPopulator.java

            //     <mirrorOf>*</mirrorOf>
            //     <url>http://repository.sonatype.org/content/groups/public</url>
            //   </mirror>
            // </mirrors>
    
            for (Mirror mirror : settings.getMirrors()) {
                mirror = mirror.clone();
    
                request.addMirror(mirror);
            }
    
            request.setActiveProfiles(settings.getActiveProfiles());
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  2. impl/maven-core/src/main/java/org/apache/maven/internal/aether/DefaultRepositorySystemSessionFactory.java

                                    : problem.getException().getMessage());
                }
            }
    
            DefaultMirrorSelector mirrorSelector = new DefaultMirrorSelector();
            for (Mirror mirror : request.getMirrors()) {
                mirrorSelector.add(
                        mirror.getId(),
                        mirror.getUrl(),
                        mirror.getLayout(),
                        false,
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 25.8K bytes
    - Viewed (0)
  3. compat/maven-compat/src/main/java/org/apache/maven/artifact/resolver/ArtifactResolutionRequest.java

            return servers;
        }
    
        public ArtifactResolutionRequest setMirrors(List<Mirror> mirrors) {
            this.mirrors = mirrors;
    
            return this;
        }
    
        public List<Mirror> getMirrors() {
            if (mirrors == null) {
                mirrors = new ArrayList<>();
            }
    
            return mirrors;
        }
    
        public ArtifactResolutionRequest setProxies(List<Proxy> proxies) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  4. impl/maven-core/src/main/java/org/apache/maven/execution/MavenExecutionRequest.java

        // Servers
        List<Server> getServers();
    
        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();
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 18.4K bytes
    - Viewed (0)
  5. impl/maven-core/src/main/java/org/apache/maven/execution/MavenSession.java

                    .servers(request.getServers().stream().map(Server::getDelegate).collect(Collectors.toList()))
                    .mirrors(request.getMirrors().stream().map(Mirror::getDelegate).collect(Collectors.toList()))
                    .profiles(request.getProfiles().stream()
                            .map(Profile::getDelegate)
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  6. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/DefaultWagonManager.java

                    artifact.setResolved(true);
                } else if (!artifact.getFile().exists()) {
                    String error = updateCheckManager.getError(artifact, repository);
                    if (error != null) {
                        throw new TransferFailedException("Failure to resolve " + remotePath + " from "
                                + repository.getUrl()
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 29.9K bytes
    - Viewed (0)
  7. api/maven-api-settings/src/main/mdo/settings.mdo

                }
            }
            return match;
        }
    
        @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;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Tue Oct 08 13:46:42 UTC 2024
    - 33.5K bytes
    - Viewed (0)
  8. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/LookupInvoker.java

            //     <mirrorOf>*</mirrorOf>
            //     <url>http://repository.sonatype.org/content/groups/public</url>
            //   </mirror>
            // </mirrors>
    
            for (Mirror mirror : settings.getMirrors()) {
                request.addMirror(new org.apache.maven.settings.Mirror(mirror));
            }
    
            for (Repository remoteRepository : settings.getRepositories()) {
                try {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 38K bytes
    - Viewed (0)
Back to top