Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for addProxy (0.12 sec)

  1. compat/maven-settings-builder/src/test/java/org/apache/maven/settings/validation/DefaultSettingsValidatorTest.java

            Settings settings = new Settings();
            Proxy proxy = new Proxy();
            String id = "foo";
            proxy.setId(id);
            proxy.setHost("www.example.com");
            settings.addProxy(proxy);
            settings.addProxy(proxy);
    
            SimpleProblemCollector problems = new SimpleProblemCollector();
            validator.validate(settings, problems);
            assertEquals(1, problems.messages.size());
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  2. compat/maven-embedder/src/main/java/org/apache/maven/cli/configuration/SettingsXmlConfigurationProcessor.java

            //    </proxy>
            //  </proxies>
    
            for (Proxy proxy : settings.getProxies()) {
                if (!proxy.isActive()) {
                    continue;
                }
    
                request.addProxy(proxy);
            }
    
            // <mirrors>
            //   <mirror>
            //     <id>nexus</id>
            //     <mirrorOf>*</mirrorOf>
            //     <url>http://repository.sonatype.org/content/groups/public</url>
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  3. impl/maven-core/src/main/java/org/apache/maven/execution/DefaultMavenExecutionRequestPopulator.java

            for (Proxy proxy : settings.getProxies()) {
                if (!proxy.isActive()) {
                    continue;
                }
    
                proxy = proxy.clone();
    
                request.addProxy(proxy);
            }
    
            // <mirrors>
            //   <mirror>
            //     <id>nexus</id>
            //     <mirrorOf>*</mirrorOf>
            //     <url>http://repository.sonatype.org/content/groups/public</url>
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  4. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/LegacyRepositorySystem.java

                }
            } catch (ComponentLookupException e) {
                // no ide workspace artifact resolution
            }
    
            return artifactResolver.resolve(request);
        }
    
        //    public void addProxy( String protocol, String host, int port, String username, String password,
        //                          String nonProxyHosts )
        //    {
        //        ProxyInfo proxyInfo = new ProxyInfo();
    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/MavenExecutionRequest.java

         */
        ProfileActivation getProfileActivation();
    
        // Proxies
        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
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 18.4K bytes
    - Viewed (0)
  6. impl/maven-core/src/main/java/org/apache/maven/execution/DefaultMavenExecutionRequest.java

                this.proxies = new ArrayList<>(proxies);
            } else {
                this.proxies = null;
            }
    
            return this;
        }
    
        @Override
        public MavenExecutionRequest addProxy(Proxy proxy) {
            Objects.requireNonNull(proxy, "proxy cannot be null");
    
            for (Proxy p : getProxies()) {
                if (p.getId() != null && p.getId().equals(proxy.getId())) {
                    return this;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 31.7K bytes
    - Viewed (0)
  7. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/LookupInvoker.java

            //    </proxy>
            //  </proxies>
    
            for (Proxy proxy : settings.getProxies()) {
                if (!proxy.isActive()) {
                    continue;
                }
                request.addProxy(new org.apache.maven.settings.Proxy(proxy));
            }
    
            // <mirrors>
            //   <mirror>
            //     <id>nexus</id>
            //     <mirrorOf>*</mirrorOf>
    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