Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for injectMirror (0.09 sec)

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

                AuthenticationSelector authenticationSelector) {
            injectMirror(mavenExecutionRequest.getRemoteRepositories(), mavenExecutionRequest.getMirrors());
            injectProxy(proxySelector, mavenExecutionRequest.getRemoteRepositories());
            injectAuthentication(authenticationSelector, mavenExecutionRequest.getRemoteRepositories());
    
    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/RepositorySystem.java

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

            RepositorySystemSession session = rss(c);
    
            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));
            }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  4. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/LegacyRepositorySystem.java

        }
    
        public void injectMirror(List<ArtifactRepository> repositories, List<Mirror> mirrors) {
            if (repositories != null && mirrors != null) {
                for (ArtifactRepository repository : repositories) {
                    Mirror mirror = getMirror(repository, mirrors);
                    injectMirror(repository, mirror);
                }
            }
        }
    
    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/bridge/MavenRepositorySystem.java

        }
    
        public void injectMirror(List<ArtifactRepository> repositories, List<Mirror> mirrors) {
            if (repositories != null && mirrors != null) {
                for (ArtifactRepository repository : repositories) {
                    Mirror mirror = getMirror(repository, mirrors);
                    injectMirror(repository, mirror);
                }
            }
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 32.6K bytes
    - Viewed (0)
  6. compat/maven-compat/src/test/java/org/apache/maven/repository/TestRepositorySystem.java

            return null;
        }
    
        @Override
        public void injectAuthentication(List<ArtifactRepository> repositories, List<Server> servers) {}
    
        @Override
        public void injectMirror(List<ArtifactRepository> repositories, List<Mirror> mirrors) {}
    
        @Override
        public void injectProxy(List<ArtifactRepository> repositories, List<Proxy> proxies) {}
    
        @Override
        public void publish(
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 12K bytes
    - Viewed (0)
  7. compat/maven-compat/src/main/java/org/apache/maven/artifact/repository/DefaultArtifactRepositoryFactory.java

                    throw new IllegalStateException("Unable to lookup " + RepositorySystem.class.getName());
                }
    
                if (mirrors) {
                    repositorySystem.injectMirror(session, repositories);
                }
    
                repositorySystem.injectProxy(session, repositories);
    
                repositorySystem.injectAuthentication(session, repositories);
            }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  8. compat/maven-compat/src/main/java/org/apache/maven/project/DefaultMavenProjectBuilder.java

                        try {
                            ArtifactRepository repo = repositorySystem.buildArtifactRepository((Repository) repository);
                            repositorySystem.injectMirror(request.getRepositorySession(), Arrays.asList(repo));
                            repositorySystem.injectProxy(request.getRepositorySession(), Arrays.asList(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)
  9. compat/maven-compat/src/main/java/org/apache/maven/project/artifact/MavenMetadataSource.java

                } catch (InvalidRepositoryException e) {
                    // can not use this then
                }
            }
            mavenRepositorySystem.injectMirror(repositorySession, pomRepositories);
            mavenRepositorySystem.injectProxy(repositorySession, pomRepositories);
            mavenRepositorySystem.injectAuthentication(repositorySession, pomRepositories);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 30.3K bytes
    - Viewed (0)
  10. istioctl/pkg/multicluster/remote_secret_test.go

    	}
    	return out
    }
    
    type fakeOutputWriter struct {
    	b           bytes.Buffer
    	injectError error
    	failAfter   int
    }
    
    func (w *fakeOutputWriter) Write(p []byte) (n int, err error) {
    	w.failAfter--
    	if w.failAfter <= 0 && w.injectError != nil {
    		return 0, w.injectError
    	}
    	return w.b.Write(p)
    }
    func (w *fakeOutputWriter) String() string { return w.b.String() }
    
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Oct 24 17:36:49 UTC 2024
    - 20.7K bytes
    - Viewed (0)
Back to top