Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for setOffline (0.07 sec)

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

            DefaultMavenExecutionRequest copy = new DefaultMavenExecutionRequest();
            copy.setLocalRepository(original.getLocalRepository());
            copy.setLocalRepositoryPath(original.getLocalRepositoryPath());
            copy.setOffline(original.isOffline());
            copy.setInteractiveMode(original.isInteractiveMode());
            copy.setCacheNotFound(original.isCacheNotFound());
            copy.setCacheTransferError(original.isCacheTransferError());
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 31.7K bytes
    - Viewed (0)
  2. compat/maven-embedder/src/main/java/org/apache/maven/cli/configuration/SettingsXmlConfigurationProcessor.java

                throws MavenExecutionRequestPopulationException {
            if (settings == null) {
                return request;
            }
    
            request.setOffline(settings.isOffline());
    
            request.setInteractiveMode(settings.isInteractiveMode());
    
            request.setPluginGroups(settings.getPluginGroups());
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  3. impl/maven-core/src/main/java/org/apache/maven/internal/aether/DefaultRepositorySystemSessionFactory.java

            configProps.put(ConfigurationProperties.INTERACTIVE, request.isInteractiveMode());
            configProps.put("maven.startTime", request.getStartTime());
    
            sessionBuilder.setOffline(request.isOffline());
            sessionBuilder.setChecksumPolicy(request.getGlobalChecksumPolicy());
            sessionBuilder.setUpdatePolicy(
                    request.isNoSnapshotUpdates()
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 25.8K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
Back to top