Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for setReleases (0.06 sec)

  1. compat/maven-compat/src/test/java/org/apache/maven/AbstractCoreMavenComponentTestCase.java

            Repository repository = new Repository();
            repository.setId(MavenRepositorySystem.DEFAULT_REMOTE_REPO_ID);
            repository.setUrl("file://" + repoDir.toURI().getPath());
            repository.setReleases(policy);
            repository.setSnapshots(policy);
    
            return Arrays.asList(mavenRepositorySystem.buildArtifactRepository(repository));
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 12.1K 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/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)
  4. compat/maven-artifact/src/main/java/org/apache/maven/artifact/DefaultArtifact.java

        }
    
        @Override
        public void setArtifactHandler(ArtifactHandler artifactHandler) {
            this.artifactHandler = artifactHandler;
        }
    
        @Override
        public void setRelease(boolean release) {
            this.release = release;
        }
    
        @Override
        public boolean isRelease() {
            return release;
        }
    
        @Override
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 14.6K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. api/maven-api-metadata/src/main/mdo/metadata.mdo

                    v.setLastUpdated( versioning.getLastUpdated() );
    
                    if ( versioning.getRelease() != null )
                    {
                        changed = true;
                        v.setRelease( versioning.getRelease() );
                    }
                    if ( versioning.getLatest() != null )
                    {
                        changed = true;
                        v.setLatest( versioning.getLatest() );
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Wed May 15 17:32:27 UTC 2024
    - 15.8K bytes
    - Viewed (0)
Back to top