Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 15 for setProxy (0.1 sec)

  1. impl/maven-core/src/main/java/org/apache/maven/internal/aether/LegacyRepositorySystemSessionExtender.java

                    repository.setProxy(getProxy(selector, repository));
                }
            }
        }
    
        private org.apache.maven.repository.Proxy getProxy(ProxySelector selector, ArtifactRepository repository) {
            if (selector != null) {
                RemoteRepository repo = RepositoryUtils.toRepo(repository);
                org.eclipse.aether.repository.Proxy proxy = selector.getProxy(repo);
                if (proxy != null) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  2. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/LegacyRepositorySystem.java

                        p.setPassword(proxy.getPassword());
    
                        repository.setProxy(p);
                    } else {
                        repository.setProxy(null);
                    }
                }
            }
        }
    
        private Proxy getProxy(RepositorySystemSession session, ArtifactRepository repository) {
            if (session != null) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 31.6K bytes
    - Viewed (0)
  3. compat/maven-compat/src/main/java/org/apache/maven/artifact/deployer/DefaultArtifactDeployer.java

                RemoteRepository.Builder builder = new RemoteRepository.Builder(remoteRepo);
                builder.setAuthentication(session.getAuthenticationSelector().getAuthentication(remoteRepo));
                builder.setProxy(session.getProxySelector().getProxy(remoteRepo));
                remoteRepo = builder.build();
            }
            request.setRepository(remoteRepo);
    
            DeployResult result;
            try {
    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/repository/DefaultArtifactRepository.java

        }
    
        public void setAuthentication(Authentication authentication) {
            this.authentication = authentication;
        }
    
        public Proxy getProxy() {
            return proxy;
        }
    
        public void setProxy(Proxy proxy) {
            this.proxy = proxy;
        }
    
        public boolean isUniqueVersion() {
            return true;
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  5. compat/maven-artifact/src/main/java/org/apache/maven/artifact/repository/ArtifactRepository.java

         */
        Authentication getAuthentication();
    
        /**
         * @param proxy proxy
         * @since 3.0-alpha-3
         */
        void setProxy(Proxy proxy);
    
        /**
         * @since 3.0-alpha-3
         * @return repository proxy
         */
        Proxy getProxy();
    
        /**
         * @since 3.0.3
         * @return the repositories mirrored by the actual one
         */
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.2K bytes
    - Viewed (1)
  6. impl/maven-core/src/main/java/org/apache/maven/bridge/MavenRepositorySystem.java

            if (repositories != null && session != null) {
                for (ArtifactRepository repository : repositories) {
                    repository.setProxy(getProxy(session, repository));
                }
            }
        }
    
        private ArtifactRepositoryLayout getLayout(String id) {
            return layouts.get(id);
        }
    
        //
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 32.6K bytes
    - Viewed (0)
  7. compat/maven-compat/src/main/java/org/apache/maven/artifact/repository/LegacyLocalRepositoryManager.java

            public void setAuthentication(Authentication authentication) {}
    
            public Authentication getAuthentication() {
                return null;
            }
    
            public void setProxy(Proxy proxy) {}
    
            public Proxy getProxy() {
                return null;
            }
    
            public List<ArtifactRepository> getMirroredRepositories() {
                return Collections.emptyList();
            }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  8. impl/maven-core/src/main/java/org/apache/maven/artifact/repository/MavenArtifactRepository.java

        }
    
        public void setAuthentication(Authentication authentication) {
            this.authentication = authentication;
        }
    
        public Proxy getProxy() {
            return proxy;
        }
    
        public void setProxy(Proxy proxy) {
            this.proxy = proxy;
        }
    
        public boolean isBlacklisted() {
            return false;
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 11K bytes
    - Viewed (0)
  9. impl/maven-core/src/main/java/org/apache/maven/RepositoryUtils.java

                builder.setReleasePolicy(toPolicy(repo.getReleases()));
                builder.setAuthentication(toAuthentication(repo.getAuthentication()));
                builder.setProxy(toProxy(repo.getProxy()));
                builder.setMirroredRepositories(toRepos(repo.getMirroredRepositories()));
                builder.setBlocked(repo.isBlocked());
                result = builder.build();
            }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 16K bytes
    - Viewed (0)
  10. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/DefaultWagonManager.java

            proxyInfo.setHost(repository.getProxy().getHost());
            proxyInfo.setType(repository.getProxy().getProtocol());
            proxyInfo.setPort(repository.getProxy().getPort());
            proxyInfo.setNonProxyHosts(repository.getProxy().getNonProxyHosts());
            proxyInfo.setUserName(repository.getProxy().getUserName());
            proxyInfo.setPassword(repository.getProxy().getPassword());
            return proxyInfo;
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 29.9K bytes
    - Viewed (0)
Back to top