Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 21 for setServers (0.09 sec)

  1. compat/maven-settings-builder/src/main/java/org/apache/maven/settings/crypto/DefaultSettingsDecryptionRequest.java

         *
         * @param settings The settings to decrypt, must not be {@code null}.
         */
        public DefaultSettingsDecryptionRequest(Settings settings) {
            setServers(settings.getServers());
            setProxies(settings.getProxies());
        }
    
        /**
         * Creates a new request to decrypt the specified server.
         *
         * @param server The server to decrypt, must not be {@code null}.
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  2. compat/maven-settings-builder/src/main/java/org/apache/maven/settings/crypto/SettingsDecryptionRequest.java

         *
         * @return The servers to decrypt, never {@code null}.
         */
        List<Server> getServers();
    
        /**
         * Sets the servers whose passwords should be decrypted.
         *
         * @param servers The servers to decrypt, may be {@code null}.
         * @return This request, never {@code null}.
         */
        SettingsDecryptionRequest setServers(List<Server> servers);
    
        /**
         * Gets the proxies whose passwords should be decrypted.
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2K bytes
    - Viewed (0)
  3. 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)
  4. compat/maven-compat/src/main/java/org/apache/maven/DefaultProjectDependenciesResolver.java

                    .setLocalRepository(session.getLocalRepository())
                    .setOffline(session.isOffline())
                    .setForceUpdate(session.getRequest().isUpdateSnapshots());
            request.setServers(session.getRequest().getServers());
            request.setMirrors(session.getRequest().getMirrors());
            request.setProxies(session.getRequest().getProxies());
    
            for (MavenProject project : projects) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  5. impl/maven-core/src/main/java/org/apache/maven/execution/DefaultMavenExecutionRequest.java

            copy.setIgnoreTransitiveRepositories(original.isIgnoreTransitiveRepositories());
            copy.setProxies(original.getProxies());
            copy.setServers(original.getServers());
            copy.setMirrors(original.getMirrors());
            copy.setProfiles(original.getProfiles());
            copy.setPluginGroups(original.getPluginGroups());
    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-compat/src/main/java/org/apache/maven/artifact/resolver/ArtifactResolutionRequest.java

            this.forceUpdate = forceUpdate;
    
            return this;
        }
    
        public ArtifactResolutionRequest setServers(List<Server> servers) {
            this.servers = servers;
    
            return this;
        }
    
        public List<Server> getServers() {
            if (servers == null) {
                servers = new ArrayList<>();
            }
    
            return servers;
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. 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)
  10. compat/maven-settings-builder/src/main/java/org/apache/maven/settings/merge/MavenSettingsMerger.java

                dominant.setLocalRepository(recessive.getLocalRepository());
            }
    
            shallowMergeById(dominant.getMirrors(), recessive.getMirrors(), recessiveSourceLevel);
            shallowMergeById(dominant.getServers(), recessive.getServers(), recessiveSourceLevel);
            shallowMergeById(dominant.getProxies(), recessive.getProxies(), recessiveSourceLevel);
            shallowMergeById(dominant.getProfiles(), recessive.getProfiles(), recessiveSourceLevel);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.5K bytes
    - Viewed (0)
Back to top