Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 23 for getReleases (0.12 sec)

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

        @Override
        public ArtifactRepositoryLayout getLayout() {
            return userLocalArtifactRepository.getLayout();
        }
    
        @Override
        public ArtifactRepositoryPolicy getReleases() {
            return userLocalArtifactRepository.getReleases();
        }
    
        @Override
        public ArtifactRepositoryPolicy getSnapshots() {
            return userLocalArtifactRepository.getSnapshots();
        }
    
        @Override
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  2. compat/maven-compat/src/main/java/org/apache/maven/profiles/ProfilesConversionUtils.java

            if (profileXmlRepo.getSnapshots() != null) {
                repo.setSnapshots(convertRepositoryPolicy(profileXmlRepo.getSnapshots()));
            }
            if (profileXmlRepo.getReleases() != null) {
                repo.setReleases(convertRepositoryPolicy(profileXmlRepo.getReleases()));
            }
    
            return repo;
        }
    
        private static org.apache.maven.model.RepositoryPolicy convertRepositoryPolicy(RepositoryPolicy profileXmlRepo) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  3. compat/maven-compat/src/main/java/org/apache/maven/artifact/repository/metadata/AbstractRepositoryMetadata.java

                ArtifactRepositoryPolicy policy = new ArtifactRepositoryPolicy(repository.getReleases());
                policy.merge(repository.getSnapshots());
                return policy;
            } else if ((nature & RepositoryMetadata.SNAPSHOT) != 0) {
                return repository.getSnapshots();
            } else {
                return repository.getReleases();
            }
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 7K bytes
    - Viewed (0)
  4. compat/maven-compat/src/main/java/org/apache/maven/project/artifact/DefaultMavenMetadataCache.java

                return true;
            }
    
            return Objects.equals(r1.getId(), r2.getId())
                    && Objects.equals(r1.getUrl(), r2.getUrl())
                    && repositoryPolicyEquals(r1.getReleases(), r2.getReleases())
                    && repositoryPolicyEquals(r1.getSnapshots(), r2.getSnapshots());
        }
    
        private static boolean repositoryPolicyEquals(ArtifactRepositoryPolicy p1, ArtifactRepositoryPolicy p2) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  5. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/ArtifactDescriptorUtils.java

            builder.setSnapshotPolicy(toRepositoryPolicy(repository.getSnapshots()));
            builder.setReleasePolicy(toRepositoryPolicy(repository.getReleases()));
            return builder.build();
        }
    
        public static RepositoryPolicy toRepositoryPolicy(org.apache.maven.model.RepositoryPolicy policy) {
            boolean enabled = true;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  6. impl/maven-core/src/main/java/org/apache/maven/bridge/MavenRepositorySystem.java

            modelRepository.setName(settingsRepository.getName());
            modelRepository.setUrl(settingsRepository.getUrl());
            modelRepository.setReleases(fromSettingsRepositoryPolicy(settingsRepository.getReleases()));
            modelRepository.setSnapshots(fromSettingsRepositoryPolicy(settingsRepository.getSnapshots()));
            return modelRepository;
        }
    
    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/DefaultArtifactRepository.java

            return snapshots;
        }
    
        public void setReleaseUpdatePolicy(ArtifactRepositoryPolicy releases) {
            this.releases = releases;
        }
    
        public ArtifactRepositoryPolicy getReleases() {
            return releases;
        }
    
        public String getKey() {
            return getId();
        }
    
        public boolean isBlacklisted() {
            return blacklisted;
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  8. compat/maven-artifact/src/main/java/org/apache/maven/artifact/repository/ArtifactRepository.java

        String getId();
    
        void setId(String id);
    
        ArtifactRepositoryPolicy getSnapshots();
    
        void setSnapshotUpdatePolicy(ArtifactRepositoryPolicy policy);
    
        ArtifactRepositoryPolicy getReleases();
    
        void setReleaseUpdatePolicy(ArtifactRepositoryPolicy policy);
    
        ArtifactRepositoryLayout getLayout();
    
        void setLayout(ArtifactRepositoryLayout layout);
    
        String getKey();
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.2K bytes
    - Viewed (1)
  9. compat/maven-compat/src/main/java/org/apache/maven/artifact/manager/DefaultWagonManager.java

                repository = artifactRepositoryFactory.createArtifactRepository(
                        id, mirror.getUrl(), repository.getLayout(), repository.getSnapshots(), repository.getReleases());
            }
            return repository;
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  10. impl/maven-core/src/main/java/org/apache/maven/internal/aether/LegacyRepositorySystemSessionExtender.java

                        repository.getId(),
                        repository.getUrl(),
                        repository.getLayout(),
                        repository.getSnapshots(),
                        repository.getReleases());
    
                repository.setMirroredRepositories(Collections.singletonList(original));
    
                repository.setId(mirror.getId());
                repository.setUrl(mirror.getUrl());
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.7K bytes
    - Viewed (0)
Back to top