Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for offline (0.17 sec)

  1. maven-core/src/site/apt/offline-mode.apt

      descriptor's requiredConnectivity field.
    
      * If <<<(offline == true) && (requiresOnline != true)>>>, bind
        the mojo to the lifecycle.
    
        In this case, the client is <<offline>>, and the mojo does not require
        online status.
    
      * If <<<(offline == false) && (requiresOnline == true)>>>, bind
        the mojo to the lifecycle.
    
        In this case, the client is <<online>>, and the mojo either requires
    Plain Text
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Mon Mar 18 00:24:53 GMT 2024
    - 10.6K bytes
    - Viewed (0)
  2. maven-core/src/main/java/org/apache/maven/execution/DefaultMavenExecutionRequest.java

            this.loggingLevel = loggingLevel;
    
            return this;
        }
    
        @Override
        public MavenExecutionRequest setOffline(boolean offline) {
            this.offline = offline;
    
            return this;
        }
    
        @Override
        public MavenExecutionRequest setUpdateSnapshots(boolean updateSnapshots) {
            this.updateSnapshots = updateSnapshots;
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 31K bytes
    - Viewed (0)
  3. maven-core/src/main/java/org/apache/maven/lifecycle/internal/MojoExecutor.java

            }
    
            if (mojoDescriptor.isOnlineRequired() && session.isOffline()) {
                if (MojoExecution.Source.CLI.equals(mojoExecution.getSource())) {
                    Throwable cause = new IllegalStateException(
                            "Goal requires online mode for execution" + " but Maven is currently offline.");
                    throw new LifecycleExecutionException(
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Feb 28 23:31:09 GMT 2024
    - 20.7K bytes
    - Viewed (0)
  4. maven-api-impl/src/main/java/org/apache/maven/internal/impl/DefaultSettingsBuilder.java

            if (isProjectSettings) {
                settings = Settings.newBuilder(settings, true)
                        .localRepository(null)
                        .interactiveMode(false)
                        .offline(false)
                        .proxies(List.of())
                        .usePluginRegistry(false)
                        .servers(settings.getServers().stream()
                                .map(s -> Server.newBuilder(s, true)
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 12K bytes
    - Viewed (0)
  5. maven-core/src/main/java/org/apache/maven/execution/MavenSession.java

                    .localRepository(localRepo != null ? localRepo.getAbsolutePath() : null)
                    .interactiveMode(request.isInteractiveMode())
                    .offline(request.isOffline())
                    .proxies(request.getProxies().stream().map(Proxy::getDelegate).collect(Collectors.toList()))
                    .servers(request.getServers().stream().map(Server::getDelegate).collect(Collectors.toList()))
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Mar 25 10:50:01 GMT 2024
    - 16.6K bytes
    - Viewed (0)
  6. maven-api-impl/src/main/java/org/apache/maven/internal/impl/DefaultSettingsValidator.java

                    addViolation(problems, BuilderProblem.Severity.WARNING, "interactiveMode", null, msgS);
                }
                if (settings.isOffline()) {
                    addViolation(problems, BuilderProblem.Severity.WARNING, "offline", null, msgS);
                }
                if (!settings.getProxies().isEmpty()) {
                    addViolation(problems, BuilderProblem.Severity.WARNING, "proxies", null, msgP);
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Mar 25 10:50:01 GMT 2024
    - 13.7K bytes
    - Viewed (0)
  7. api/maven-api-core/src/main/java/org/apache/maven/api/plugin/annotations/Mojo.java

         * @return uses the Maven project and its child modules
         */
        boolean aggregator() default false;
    
        /**
         * does this Mojo need to be online to be executed?
         * @return need to be online
         */
        boolean onlineRequired() default false;
    
        /**
         * TODO: v4: add a SPI for the configurator
         * configurator bean name.
         * @return the configurator bean name
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 2.5K bytes
    - Viewed (0)
  8. api/maven-api-plugin/src/main/mdo/plugin.mdo

              <type>boolean</type>
              <description>Flags this Mojo to require online mode for its operation.</description>
              <defaultValue>false</defaultValue>
            </field>
            <field>
              <name>onlineRequired</name>
              <version>2.0.0+</version>
              <type>boolean</type>
              <description>Flags this Mojo to require online mode for its operation.</description>
              <defaultValue>false</defaultValue>
    XML
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Sun Apr 14 17:14:22 GMT 2024
    - 23.6K bytes
    - Viewed (0)
  9. 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) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 05:46:50 GMT 2024
    - 24.8K bytes
    - Viewed (0)
  10. 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()
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 14:13:36 GMT 2024
    - 27.5K bytes
    - Viewed (0)
Back to top