Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for addServer (0.06 sec)

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

            Settings settings = new Settings();
            Server server1 = new Server();
            server1.setId("test");
            settings.addServer(server1);
            Server server2 = new Server();
            server2.setId("test");
            settings.addServer(server2);
    
            SimpleProblemCollector problems = new SimpleProblemCollector();
            validator.validate(settings, problems);
    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

            request.setPluginGroups(settings.getPluginGroups());
    
            request.setLocalRepositoryPath(settings.getLocalRepository());
    
            for (Server server : settings.getServers()) {
                request.addServer(server);
            }
    
            //  <proxies>
            //    <proxy>
            //      <active>true</active>
            //      <protocol>http</protocol>
            //      <host>proxy.somewhere.com</host>
    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

            request.setLocalRepositoryPath(settings.getLocalRepository());
    
            for (Server server : settings.getServers()) {
                server = server.clone();
    
                request.addServer(server);
            }
    
            //  <proxies>
            //    <proxy>
            //      <active>true</active>
            //      <protocol>http</protocol>
            //      <host>proxy.somewhere.com</host>
    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. impl/maven-core/src/main/java/org/apache/maven/execution/MavenExecutionRequest.java

        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);
    
        MavenExecutionRequest addMirror(Mirror mirror);
    
        // Plugin groups
    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/DefaultMavenExecutionRequest.java

                this.servers = new ArrayList<>(servers);
            } else {
                this.servers = null;
            }
    
            return this;
        }
    
        @Override
        public MavenExecutionRequest addServer(Server server) {
            Objects.requireNonNull(server, "server cannot be null");
    
            for (Server p : getServers()) {
                if (p.getId() != null && p.getId().equals(server.getId())) {
    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. 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>
            //      <protocol>http</protocol>
    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