Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for getReleases (0.1 sec)

  1. 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)
  2. 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)
  3. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/LegacyRepositorySystem.java

                List<ArtifactRepositoryPolicy> releasePolicies = new ArrayList<>(aliasedRepos.size());
    
                for (ArtifactRepository aliasedRepo : aliasedRepos) {
                    releasePolicies.add(aliasedRepo.getReleases());
                    mirroredRepos.addAll(aliasedRepo.getMirroredRepositories());
                }
    
                ArtifactRepositoryPolicy releasePolicy = getEffectivePolicy(releasePolicies);
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 31.6K bytes
    - Viewed (0)
  4. compat/maven-artifact/src/main/java/org/apache/maven/artifact/resolver/AbstractArtifactResolutionException.java

                        sb.append(" (");
                        sb.append(remoteRepository.getUrl());
    
                        ArtifactRepositoryPolicy releases = remoteRepository.getReleases();
                        if (releases != null) {
                            sb.append(", releases=").append(releases.isEnabled());
                        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  5. compat/maven-compat/src/main/java/org/apache/maven/artifact/repository/LegacyLocalRepositoryManager.java

            public ArtifactRepositoryPolicy getSnapshots() {
                return null;
            }
    
            public void setSnapshotUpdatePolicy(ArtifactRepositoryPolicy policy) {}
    
            public ArtifactRepositoryPolicy getReleases() {
                return null;
            }
    
            public void setReleaseUpdatePolicy(ArtifactRepositoryPolicy policy) {}
    
            public ArtifactRepositoryLayout getLayout() {
                return null;
    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

            return snapshots;
        }
    
        public void setReleaseUpdatePolicy(ArtifactRepositoryPolicy releases) {
            this.releases = releases;
        }
    
        public ArtifactRepositoryPolicy getReleases() {
            return releases;
        }
    
        public String getKey() {
            return getId();
        }
    
        public String toString() {
            StringBuilder sb = new StringBuilder(256);
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 11K bytes
    - Viewed (0)
  7. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/DefaultUpdateCheckManager.java

            File file = artifact.getFile();
    
            ArtifactRepositoryPolicy policy = artifact.isSnapshot() ? repository.getSnapshots() : repository.getReleases();
    
            if (!policy.isEnabled()) {
                if (getLogger().isDebugEnabled()) {
                    getLogger()
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  8. impl/maven-core/src/main/java/org/apache/maven/RepositoryUtils.java

                        new RemoteRepository.Builder(repo.getId(), getLayout(repo), repo.getUrl());
                builder.setSnapshotPolicy(toPolicy(repo.getSnapshots()));
                builder.setReleasePolicy(toPolicy(repo.getReleases()));
                builder.setAuthentication(toAuthentication(repo.getAuthentication()));
                builder.setProxy(toProxy(repo.getProxy()));
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 16K bytes
    - Viewed (0)
  9. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/DefaultWagonManager.java

            String remotePath = repository.pathOf(artifact);
    
            ArtifactRepositoryPolicy policy = artifact.isSnapshot() ? repository.getSnapshots() : repository.getReleases();
    
            if (!policy.isEnabled()) {
                logger.debug(
                        "Skipping disabled repository " + repository.getId() + " for resolution of " + artifact.getId());
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 29.9K bytes
    - Viewed (0)
  10. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/DefaultVersionResolver.java

                Artifact artifact, Map<String, VersionInfo> infos, Versioning versioning, ArtifactRepository repository) {
            if (versioning.getRelease() != null && !versioning.getRelease().isEmpty()) {
                merge(RELEASE, infos, versioning.getLastUpdated(), versioning.getRelease(), repository);
            }
    
            if (versioning.getLatest() != null && !versioning.getLatest().isEmpty()) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 20.3K bytes
    - Viewed (0)
Back to top