Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for setProxy (0.17 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/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)
  3. 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)
  4. 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)
  5. compat/maven-compat/src/main/java/org/apache/maven/artifact/manager/WagonManager.java

         *
         * @param id an id
         * @return corresponding authentication info
         */
        AuthenticationInfo getAuthenticationInfo(String id);
    
        ProxyInfo getProxy(String protocol);
    
        void getArtifact(Artifact artifact, ArtifactRepository repository)
                throws TransferFailedException, ResourceDoesNotExistException;
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  6. compat/maven-settings-builder/src/main/java/org/apache/maven/settings/crypto/DefaultSettingsDecryptionResult.java

            return servers.isEmpty() ? null : servers.get(0);
        }
    
        @Override
        public List<Server> getServers() {
            return servers;
        }
    
        @Override
        public Proxy getProxy() {
            return proxies.isEmpty() ? null : proxies.get(0);
        }
    
        @Override
        public List<Proxy> getProxies() {
            return proxies;
        }
    
        @Override
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  7. compat/maven-settings-builder/src/main/java/org/apache/maven/settings/crypto/SettingsDecryptionResult.java

        /**
         * Gets the decrypted proxy. This is a convenience method to retrieve the first element from {@link #getProxies()}.
         *
         * @return The decrypted proxy or {@code null}.
         */
        Proxy getProxy();
    
        /**
         * Gets the decrypted proxies.
         *
         * @return The decrypted proxy, can be empty but never {@code null}.
         */
        List<Proxy> getProxies();
    
        /**
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  8. compat/maven-compat/src/main/java/org/apache/maven/artifact/manager/DefaultWagonManager.java

                            }
                        }
                    }
                }
            }
    
            // empty one to prevent NPE
            return new AuthenticationInfo();
        }
    
        public ProxyInfo getProxy(String protocol) {
            MavenSession session = legacySupport.getSession();
    
            if (session != null && protocol != null) {
                MavenExecutionRequest request = session.getRequest();
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.4K bytes
    - Viewed (0)
Back to top