Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 17 of 17 for setOffline (0.15 sec)

  1. impl/maven-core/src/main/java/org/apache/maven/execution/MavenExecutionRequest.java

        // Interactive
        MavenExecutionRequest setInteractiveMode(boolean interactive);
    
        boolean isInteractiveMode();
    
        // Offline
        MavenExecutionRequest setOffline(boolean offline);
    
        boolean isOffline();
    
        boolean isCacheTransferError();
    
        MavenExecutionRequest setCacheTransferError(boolean cacheTransferError);
    
        boolean isCacheNotFound();
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 18.4K bytes
    - Viewed (0)
  2. compat/maven-compat/src/main/java/org/apache/maven/project/artifact/MavenMetadataSource.java

        }
    
        private void injectSession(MetadataResolutionRequest request) {
            RepositorySystemSession session = legacySupport.getRepositorySession();
    
            if (session != null) {
                request.setOffline(session.isOffline());
                request.setForceUpdate(RepositoryPolicy.UPDATE_POLICY_ALWAYS.equals(session.getUpdatePolicy()));
            }
        }
    
        @Override
        public ResolutionGroup retrieve(
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 30.3K bytes
    - Viewed (0)
  3. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/DefaultMavenInvoker.java

            request.setReactorFailureBehavior(determineReactorFailureBehaviour(context));
            request.setRecursive(!options.nonRecursive().orElse(!request.isRecursive()));
            request.setOffline(options.offline().orElse(request.isOffline()));
            request.setUpdateSnapshots(options.updateSnapshots().orElse(false));
            request.setGlobalChecksumPolicy(determineGlobalChecksumPolicy(context));
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 29.8K bytes
    - Viewed (0)
  4. 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) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 24.8K bytes
    - Viewed (0)
  5. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/resolver/DefaultLegacyArtifactCollector.java

        private LegacySupport legacySupport;
    
        private void injectSession(ArtifactResolutionRequest request) {
            MavenSession session = legacySupport.getSession();
    
            if (session != null) {
                request.setOffline(session.isOffline());
                request.setForceUpdate(session.getRequest().isUpdateSnapshots());
                request.setServers(session.getRequest().getServers());
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 36.7K bytes
    - Viewed (0)
  6. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/LookupInvoker.java

        }
    
        protected void populateRequestFromSettings(MavenExecutionRequest request, Settings settings) throws Exception {
            if (settings == null) {
                return;
            }
            request.setOffline(settings.isOffline());
            request.setInteractiveMode(settings.isInteractiveMode());
            request.setPluginGroups(settings.getPluginGroups());
            request.setLocalRepositoryPath(settings.getLocalRepository());
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 38K bytes
    - Viewed (0)
  7. compat/maven-embedder/src/main/java/org/apache/maven/cli/MavenCli.java

            disableOnPresentOption(commandLine, CLIManager.NON_RECURSIVE, request::setRecursive);
            enableOnPresentOption(commandLine, CLIManager.OFFLINE, request::setOffline);
            enableOnPresentOption(commandLine, CLIManager.UPDATE_SNAPSHOTS, request::setUpdateSnapshots);
            request.setGlobalChecksumPolicy(determineGlobalCheckPolicy(commandLine));
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 76.8K bytes
    - Viewed (0)
Back to top