Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 29 for getServers (0.12 sec)

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

            Objects.requireNonNull(server, "server cannot be null");
    
            for (Server p : getServers()) {
                if (p.getId() != null && p.getId().equals(server.getId())) {
                    return this;
                }
            }
    
            getServers().add(server);
    
            return this;
        }
    
        @Override
        public List<Mirror> getMirrors() {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 31.7K bytes
    - Viewed (0)
  2. compat/maven-compat/src/main/java/org/apache/maven/artifact/resolver/DefaultArtifactResolver.java

        }
    
        private void injectSession2(ArtifactResolutionRequest request, MavenSession session) {
            injectSession1(request, session);
    
            if (session != null) {
                request.setServers(session.getRequest().getServers());
                request.setMirrors(session.getRequest().getMirrors());
                request.setProxies(session.getRequest().getProxies());
            }
        }
    
        public void resolve(
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 24.8K bytes
    - Viewed (0)
  3. impl/maven-core/src/main/java/org/apache/maven/internal/aether/DefaultRepositorySystemSessionFactory.java

            }
    
            DefaultSettingsDecryptionRequest decrypt = new DefaultSettingsDecryptionRequest();
            decrypt.setProxies(request.getProxies());
            decrypt.setServers(request.getServers());
            SettingsDecryptionResult decrypted = settingsDecrypter.decrypt(decrypt);
            for (SettingsProblem problem : decrypted.getProblems()) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 25.8K bytes
    - Viewed (0)
  4. compat/maven-embedder/src/main/java/org/apache/maven/cli/configuration/SettingsXmlConfigurationProcessor.java

            request.setPluginGroups(settings.getPluginGroups());
    
            request.setLocalRepositoryPath(settings.getLocalRepository());
    
            for (Server server : settings.getServers()) {
                request.addServer(server);
            }
    
            //  <proxies>
            //    <proxy>
            //      <active>true</active>
            //      <protocol>http</protocol>
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  5. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/resolver/DefaultLegacyArtifactCollector.java

            if (session != null) {
                request.setOffline(session.isOffline());
                request.setForceUpdate(session.getRequest().isUpdateSnapshots());
                request.setServers(session.getRequest().getServers());
                request.setMirrors(session.getRequest().getMirrors());
                request.setProxies(session.getRequest().getProxies());
            }
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 36.7K bytes
    - Viewed (0)
  6. impl/maven-core/src/main/java/org/apache/maven/execution/MavenExecutionRequest.java

        List<Proxy> getProxies();
    
        MavenExecutionRequest setProxies(List<Proxy> proxies);
    
        MavenExecutionRequest addProxy(Proxy proxy);
    
        // Servers
        List<Server> getServers();
    
        MavenExecutionRequest setServers(List<Server> servers);
    
        MavenExecutionRequest addServer(Server server);
    
        // Mirrors
        List<Mirror> getMirrors();
    
        MavenExecutionRequest setMirrors(List<Mirror> mirrors);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 18.4K bytes
    - Viewed (0)
  7. impl/maven-core/src/main/java/org/apache/maven/execution/MavenSession.java

                    .offline(request.isOffline())
                    .proxies(request.getProxies().stream().map(Proxy::getDelegate).collect(Collectors.toList()))
                    .servers(request.getServers().stream().map(Server::getDelegate).collect(Collectors.toList()))
                    .mirrors(request.getMirrors().stream().map(Mirror::getDelegate).collect(Collectors.toList()))
                    .profiles(request.getProfiles().stream()
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  8. api/maven-api-settings/src/main/mdo/settings.mdo

                            break;
                        }
                    }
                }
            }
            return activeProxy;
        }
    
        public Server getServer(String serverId) {
            Server match = null;
            java.util.List<Server> servers = getServers();
            if (servers != null && serverId != null) {
                for (Server server : servers) {
                    if (serverId.equals(server.getId())) {
    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. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/LookupInvoker.java

            request.setPluginGroups(settings.getPluginGroups());
            request.setLocalRepositoryPath(settings.getLocalRepository());
            for (Server server : settings.getServers()) {
                request.addServer(new org.apache.maven.settings.Server(server));
            }
    
            //  <proxies>
            //    <proxy>
            //      <active>true</active>
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 38K bytes
    - Viewed (0)
  10. src/test/java/jcifs/tests/FileLocationTest.java

                }
                throw new ClassCastException();
            }
    
    
            /**
             * {@inheritDoc}
             *
             * @see jcifs.DfsReferralData#getServer()
             */
            @Override
            public String getServer () {
                return this.server;
            }
    
    
            /**
             * {@inheritDoc}
             *
             * @see jcifs.DfsReferralData#getDomain()
             */
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Wed Jan 08 13:16:07 UTC 2020
    - 23K bytes
    - Viewed (0)
Back to top