Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for injectProxy (0.16 sec)

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

            injectProxy(proxySelector, mavenExecutionRequest.getRemoteRepositories());
            injectAuthentication(authenticationSelector, mavenExecutionRequest.getRemoteRepositories());
    
            injectMirror(mavenExecutionRequest.getPluginArtifactRepositories(), mavenExecutionRequest.getMirrors());
            injectProxy(proxySelector, mavenExecutionRequest.getPluginArtifactRepositories());
    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/project/ProjectUtils.java

            ArtifactRepository repository = repositorySystem.buildArtifactRepository(repo);
    
            if (session != null) {
                repositorySystem.injectMirror(session, Arrays.asList(repository));
                repositorySystem.injectProxy(session, Arrays.asList(repository));
                repositorySystem.injectAuthentication(session, Arrays.asList(repository));
            }
    
            return repository;
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  3. compat/maven-compat/src/main/java/org/apache/maven/repository/RepositorySystem.java

         *
         * @param repositories The repositories into which to inject the proxy information, may be {@code null}.
         * @param proxies The available proxies, may be {@code null}.
         */
        void injectProxy(List<ArtifactRepository> repositories, List<org.apache.maven.settings.Proxy> proxies);
    
        /**
         * Injects the authentication information into the specified repositories. For each repository that is matched by a
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  4. compat/maven-compat/src/test/java/org/apache/maven/repository/TestRepositorySystem.java

        @Override
        public void injectMirror(List<ArtifactRepository> repositories, List<Mirror> mirrors) {}
    
        @Override
        public void injectProxy(List<ArtifactRepository> repositories, List<Proxy> proxies) {}
    
        @Override
        public void publish(
                ArtifactRepository repository, File source, String remotePath, ArtifactTransferListener transferListener)
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 12K bytes
    - Viewed (0)
  5. compat/maven-compat/src/main/java/org/apache/maven/artifact/repository/DefaultArtifactRepositoryFactory.java

                }
    
                if (mirrors) {
                    repositorySystem.injectMirror(session, repositories);
                }
    
                repositorySystem.injectProxy(session, repositories);
    
                repositorySystem.injectAuthentication(session, repositories);
            }
    
            return repository;
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  6. compat/maven-compat/src/main/java/org/apache/maven/project/DefaultMavenProjectBuilder.java

                            repositorySystem.injectMirror(request.getRepositorySession(), Arrays.asList(repo));
                            repositorySystem.injectProxy(request.getRepositorySession(), Arrays.asList(repo));
                            repositorySystem.injectAuthentication(request.getRepositorySession(), Arrays.asList(repo));
                            repos.add(repo);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  7. compat/maven-compat/src/main/java/org/apache/maven/project/artifact/MavenMetadataSource.java

                    // can not use this then
                }
            }
            mavenRepositorySystem.injectMirror(repositorySession, pomRepositories);
            mavenRepositorySystem.injectProxy(repositorySession, pomRepositories);
            mavenRepositorySystem.injectAuthentication(repositorySession, pomRepositories);
            return pomRepositories;
        }
    
        private boolean hasFile(Artifact artifact) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 30.3K bytes
    - Viewed (0)
  8. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/LegacyRepositorySystem.java

                        } else {
                            return proxy;
                        }
                    }
                }
            }
    
            return null;
        }
    
        public void injectProxy(List<ArtifactRepository> repositories, List<org.apache.maven.settings.Proxy> proxies) {
            if (repositories != null) {
                for (ArtifactRepository repository : repositories) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 31.6K bytes
    - Viewed (0)
  9. impl/maven-core/src/main/java/org/apache/maven/bridge/MavenRepositorySystem.java

                            authCtx.close();
                        }
                        return p;
                    }
                }
            }
            return null;
        }
    
        public void injectProxy(RepositorySystemSession session, List<ArtifactRepository> repositories) {
            if (repositories != null && session != null) {
                for (ArtifactRepository repository : repositories) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 32.6K bytes
    - Viewed (0)
Back to top