Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for setUpdatePolicy (0.09 sec)

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

            }
    
            if (releases == null) {
                releases = new ArtifactRepositoryPolicy();
            }
    
            if (globalUpdatePolicy != null) {
                snapshots.setUpdatePolicy(globalUpdatePolicy);
                releases.setUpdatePolicy(globalUpdatePolicy);
            }
    
            if (globalChecksumPolicy != null) {
                snapshots.setChecksumPolicy(globalChecksumPolicy);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  2. compat/maven-artifact/src/main/java/org/apache/maven/artifact/repository/ArtifactRepositoryPolicy.java

            }
            this.checksumPolicy = checksumPolicy;
        }
    
        public void setEnabled(boolean enabled) {
            this.enabled = enabled;
        }
    
        public void setUpdatePolicy(String updatePolicy) {
            if (updatePolicy != null) {
                this.updatePolicy = updatePolicy;
            }
        }
    
        public void setChecksumPolicy(String checksumPolicy) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  3. compat/maven-compat/src/main/java/org/apache/maven/profiles/ProfilesConversionUtils.java

            org.apache.maven.model.RepositoryPolicy policy = new org.apache.maven.model.RepositoryPolicy();
            policy.setEnabled(profileXmlRepo.isEnabled());
            policy.setUpdatePolicy(profileXmlRepo.getUpdatePolicy());
            policy.setChecksumPolicy(profileXmlRepo.getChecksumPolicy());
            return policy;
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  4. compat/maven-compat/src/test/java/org/apache/maven/repository/LegacyRepositorySystemTest.java

            RepositoryPolicy policy = new RepositoryPolicy();
            policy.setEnabled(true);
            policy.setChecksumPolicy("ignore");
            policy.setUpdatePolicy("always");
    
            Repository repository = new Repository();
            repository.setId(RepositorySystem.DEFAULT_REMOTE_REPO_ID);
            repository.setUrl("file://" + repoDir.toURI().getPath());
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 8.8K bytes
    - Viewed (0)
Back to top