Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for setMirroredRepositories (0.2 sec)

  1. compat/maven-compat/src/main/java/org/apache/maven/artifact/repository/DefaultArtifactRepository.java

        public boolean isUniqueVersion() {
            return true;
        }
    
        public List<ArtifactRepository> getMirroredRepositories() {
            return mirroredRepositories;
        }
    
        public void setMirroredRepositories(List<ArtifactRepository> mirroredRepositories) {
            if (mirroredRepositories != null) {
                this.mirroredRepositories = Collections.unmodifiableList(mirroredRepositories);
            } else {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  2. impl/maven-core/src/main/java/org/apache/maven/internal/aether/LegacyRepositorySystemSessionExtender.java

                        repository.getUrl(),
                        repository.getLayout(),
                        repository.getSnapshots(),
                        repository.getReleases());
    
                repository.setMirroredRepositories(Collections.singletonList(original));
    
                repository.setId(mirror.getId());
                repository.setUrl(mirror.getUrl());
    
                if (mirror.getLayout() != null && !mirror.getLayout().isEmpty()) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  3. compat/maven-artifact/src/main/java/org/apache/maven/artifact/repository/ArtifactRepository.java

         */
        List<ArtifactRepository> getMirroredRepositories();
    
        /**
         * @since 3.0.3
         * @param mirroredRepositories the repositories that the actual one mirrors
         */
        void setMirroredRepositories(List<ArtifactRepository> mirroredRepositories);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.2K bytes
    - Viewed (1)
  4. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/LegacyRepositorySystem.java

                effectiveRepository.setAuthentication(aliasedRepo.getAuthentication());
    
                effectiveRepository.setProxy(aliasedRepo.getProxy());
    
                effectiveRepository.setMirroredRepositories(mirroredRepos);
    
                effectiveRepository.setBlocked(aliasedRepo.isBlocked());
    
                effectiveRepositories.add(effectiveRepository);
            }
    
            return effectiveRepositories;
    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. compat/maven-compat/src/main/java/org/apache/maven/artifact/repository/LegacyLocalRepositoryManager.java

                return null;
            }
    
            public List<ArtifactRepository> getMirroredRepositories() {
                return Collections.emptyList();
            }
    
            public void setMirroredRepositories(List<ArtifactRepository> mirroredRepositories) {}
    
            public boolean isBlocked() {
                return false;
            }
    
            public void setBlocked(boolean blocked) {}
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  6. impl/maven-core/src/main/java/org/apache/maven/artifact/repository/MavenArtifactRepository.java

        public boolean isProjectAware() {
            return false;
        }
    
        public List<ArtifactRepository> getMirroredRepositories() {
            return mirroredRepositories;
        }
    
        public void setMirroredRepositories(List<ArtifactRepository> mirroredRepositories) {
            if (mirroredRepositories != null) {
                this.mirroredRepositories = Collections.unmodifiableList(mirroredRepositories);
            } else {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 11K bytes
    - Viewed (0)
  7. impl/maven-core/src/main/java/org/apache/maven/bridge/MavenRepositorySystem.java

                        repository.getUrl(),
                        repository.getLayout(),
                        repository.getSnapshots(),
                        repository.getReleases());
    
                repository.setMirroredRepositories(Collections.singletonList(original));
    
                repository.setId(mirror.getId());
                repository.setUrl(mirror.getUrl());
    
                if (mirror.getLayout() != null && !mirror.getLayout().isEmpty()) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 32.6K bytes
    - Viewed (0)
  8. impl/maven-core/src/main/java/org/apache/maven/RepositoryUtils.java

                builder.setAuthentication(toAuthentication(repo.getAuthentication()));
                builder.setProxy(toProxy(repo.getProxy()));
                builder.setMirroredRepositories(toRepos(repo.getMirroredRepositories()));
                builder.setBlocked(repo.isBlocked());
                result = builder.build();
            }
            return result;
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 16K bytes
    - Viewed (0)
Back to top