Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for isUpdateSnapshots (0.1 sec)

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

                request.setRemoteRepositories(project.getPluginArtifactRepositories());
            }
            request.setOffline(session.isOffline());
            request.setForceUpdate(session.getRequest().isUpdateSnapshots());
    
            return request;
        }
    
        public boolean isOffline() {
            return offline;
        }
    
        public DefaultRepositoryRequest setOffline(boolean offline) {
            this.offline = offline;
    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/DefaultProjectDependenciesResolver.java

                    .setLocalRepository(session.getLocalRepository())
                    .setOffline(session.isOffline())
                    .setForceUpdate(session.getRequest().isUpdateSnapshots());
            request.setServers(session.getRequest().getServers());
            request.setMirrors(session.getRequest().getMirrors());
            request.setProxies(session.getRequest().getProxies());
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  3. impl/maven-core/src/main/java/org/apache/maven/execution/DefaultMavenExecutionRequest.java

    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 31.7K bytes
    - Viewed (0)
  4. impl/maven-core/src/main/java/org/apache/maven/internal/aether/DefaultRepositorySystemSessionFactory.java

            sessionBuilder.setUpdatePolicy(
                    request.isNoSnapshotUpdates()
                            ? RepositoryPolicy.UPDATE_POLICY_NEVER
                            : request.isUpdateSnapshots() ? RepositoryPolicy.UPDATE_POLICY_ALWAYS : null);
    
            int errorPolicy = 0;
            errorPolicy |= request.isCacheNotFound()
                    ? ResolutionErrorPolicy.CACHE_NOT_FOUND
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 25.8K bytes
    - Viewed (0)
  5. impl/maven-core/src/main/java/org/apache/maven/execution/MavenExecutionRequest.java

        MavenExecutionRequest setLoggingLevel(int loggingLevel);
    
        int getLoggingLevel();
    
        // Update snapshots
        MavenExecutionRequest setUpdateSnapshots(boolean updateSnapshots);
    
        boolean isUpdateSnapshots();
    
        MavenExecutionRequest setNoSnapshotUpdates(boolean noSnapshotUpdates);
    
        boolean isNoSnapshotUpdates();
    
        // Checksum policy
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 18.4K bytes
    - Viewed (0)
  6. compat/maven-compat/src/main/java/org/apache/maven/artifact/resolver/DefaultArtifactResolver.java

        private void injectSession1(RepositoryRequest request, MavenSession session) {
            if (session != null) {
                request.setOffline(session.isOffline());
                request.setForceUpdate(session.getRequest().isUpdateSnapshots());
            }
        }
    
        private void injectSession2(ArtifactResolutionRequest request, MavenSession session) {
            injectSession1(request, session);
    
            if (session != null) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 24.8K bytes
    - Viewed (0)
  7. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/resolver/DefaultLegacyArtifactCollector.java

            MavenSession session = legacySupport.getSession();
    
            if (session != null) {
                request.setOffline(session.isOffline());
                request.setForceUpdate(session.getRequest().isUpdateSnapshots());
                request.setServers(session.getRequest().getServers());
                request.setMirrors(session.getRequest().getMirrors());
                request.setProxies(session.getRequest().getProxies());
            }
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 36.7K bytes
    - Viewed (0)
Back to top