Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for isForceUpdate (0.12 sec)

  1. impl/maven-core/src/main/java/org/apache/maven/artifact/repository/DefaultRepositoryRequest.java

            setRemoteRepositories(repositoryRequest.getRemoteRepositories());
            setOffline(repositoryRequest.isOffline());
            setForceUpdate(repositoryRequest.isForceUpdate());
        }
    
        public static RepositoryRequest getRepositoryRequest(MavenSession session, MavenProject project) {
            RepositoryRequest request = new DefaultRepositoryRequest();
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  2. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/metadata/DefaultMetadataResolutionRequest.java

        }
    
        public DefaultMetadataResolutionRequest setOffline(boolean offline) {
            repositoryRequest.setOffline(offline);
    
            return this;
        }
    
        public boolean isForceUpdate() {
            return repositoryRequest.isForceUpdate();
        }
    
        public DefaultMetadataResolutionRequest setForceUpdate(boolean forceUpdate) {
            repositoryRequest.setForceUpdate(forceUpdate);
    
            return this;
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  3. compat/maven-compat/src/main/java/org/apache/maven/artifact/resolver/ArtifactResolutionRequest.java

            setLocalRepository(request.getLocalRepository());
            setRemoteRepositories(request.getRemoteRepositories());
            setOffline(request.isOffline());
            setForceUpdate(request.isForceUpdate());
        }
    
        public Artifact getArtifact() {
            return artifact;
        }
    
        public ArtifactResolutionRequest setArtifact(Artifact artifact) {
            this.artifact = artifact;
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  4. impl/maven-core/src/main/java/org/apache/maven/artifact/repository/RepositoryRequest.java

         * configured update policy.
         *
         * @return {@code true} if remote repositories should be re-checked for updated artifacts/metadata, {@code false}
         *         otherwise.
         */
        boolean isForceUpdate();
    
        /**
         * Enables/disabled forced checks for updated artifacts/metadata on remote repositories.
         *
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  5. compat/maven-compat/src/main/java/org/apache/maven/artifact/repository/metadata/DefaultRepositoryMetadataManager.java

                                            + ") from disabled repository " + repository.getId() + " ("
                                            + repository.getUrl() + ")");
                        }
                    } else if (request.isForceUpdate()) {
                        update = true;
                    } else if (localCopyLastModified != null && !policy.checkOutOfDate(localCopyLastModified)) {
                        update = false;
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 18.9K bytes
    - Viewed (0)
  6. compat/maven-compat/src/main/java/org/apache/maven/project/artifact/MavenMetadataSource.java

            if (cached != null
                    // if the POM has no file, we cached a missing artifact, only return the cached data if no update forced
                    && (!request.isForceUpdate() || hasFile(cached.getPomArtifact()))) {
                return cached;
            }
    
            List<Dependency> dependencies;
    
            List<Dependency> managedDependencies = null;
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 30.3K bytes
    - Viewed (0)
Back to top