Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 19 of 19 for getProxies (0.1 sec)

  1. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/resolver/DefaultLegacyArtifactCollector.java

                request.setServers(session.getRequest().getServers());
                request.setMirrors(session.getRequest().getMirrors());
                request.setProxies(session.getRequest().getProxies());
            }
        }
    
        @SuppressWarnings("checkstyle:parameternumber")
        public ArtifactResolutionResult collect(
                Set<Artifact> artifacts,
                Artifact originatingArtifact,
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 36.7K bytes
    - Viewed (0)
  2. compat/maven-compat/src/main/java/org/apache/maven/DefaultProjectDependenciesResolver.java

            request.setServers(session.getRequest().getServers());
            request.setMirrors(session.getRequest().getMirrors());
            request.setProxies(session.getRequest().getProxies());
    
            for (MavenProject project : projects) {
                request.setArtifact(new ProjectArtifact(project));
                request.setArtifactDependencies(project.getDependencyArtifacts());
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  3. compat/maven-compat/src/main/java/org/apache/maven/artifact/manager/DefaultWagonManager.java

            if (session != null && protocol != null) {
                MavenExecutionRequest request = session.getRequest();
    
                if (request != null) {
                    List<Proxy> proxies = request.getProxies();
    
                    if (proxies != null) {
                        for (Proxy proxy : proxies) {
                            if (proxy.isActive() && protocol.equalsIgnoreCase(proxy.getProtocol())) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  4. compat/maven-compat/src/main/java/org/apache/maven/artifact/resolver/ArtifactResolutionRequest.java

                mirrors = new ArrayList<>();
            }
    
            return mirrors;
        }
    
        public ArtifactResolutionRequest setProxies(List<Proxy> proxies) {
            this.proxies = proxies;
    
            return this;
        }
    
        public List<Proxy> getProxies() {
            if (proxies == null) {
                proxies = new ArrayList<>();
            }
    
            return 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)
  5. impl/maven-core/src/main/java/org/apache/maven/execution/DefaultMavenExecutionRequestPopulator.java

            //      <password>somepassword</password>
            //      <nonProxyHosts>www.google.com|*.somewhere.com</nonProxyHosts>
            //    </proxy>
            //  </proxies>
    
            for (Proxy proxy : settings.getProxies()) {
                if (!proxy.isActive()) {
                    continue;
                }
    
                proxy = proxy.clone();
    
                request.addProxy(proxy);
            }
    
            // <mirrors>
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  6. impl/maven-core/src/main/java/org/apache/maven/execution/MavenExecutionRequest.java

         * @return requested (de-)activation(s) of profile(s) in this execution. Never {@code null}.
         */
        ProfileActivation getProfileActivation();
    
        // Proxies
        List<Proxy> getProxies();
    
        MavenExecutionRequest setProxies(List<Proxy> proxies);
    
        MavenExecutionRequest addProxy(Proxy proxy);
    
        // Servers
        List<Server> getServers();
    
        MavenExecutionRequest setServers(List<Server> servers);
    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

                    .localRepository(localRepo != null ? localRepo.getAbsolutePath() : null)
                    .interactiveMode(request.isInteractiveMode())
                    .offline(request.isOffline())
                    .proxies(request.getProxies().stream().map(Proxy::getDelegate).collect(Collectors.toList()))
                    .servers(request.getServers().stream().map(Server::getDelegate).collect(Collectors.toList()))
    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

        }
    
        /**
         * @return the first active proxy
         */
        public synchronized Proxy getActiveProxy() {
            if (activeProxy == null) {
                java.util.List<Proxy> proxies = getProxies();
                if (proxies != null && !proxies.isEmpty()) {
                    for (Proxy proxy : proxies) {
                        if (proxy.isActive()) {
                            activeProxy = proxy;
    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

            //      <password>somepassword</password>
            //      <nonProxyHosts>www.google.com|*.somewhere.com</nonProxyHosts>
            //    </proxy>
            //  </proxies>
    
            for (Proxy proxy : settings.getProxies()) {
                if (!proxy.isActive()) {
                    continue;
                }
                request.addProxy(new org.apache.maven.settings.Proxy(proxy));
            }
    
            // <mirrors>
    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