Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 27 for offline (0.2 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/artifact/repository/DefaultRepositoryRequest.java

            }
            request.setOffline(session.isOffline());
            request.setForceUpdate(session.getRequest().isUpdateSnapshots());
    
            return request;
        }
    
        public boolean isOffline() {
            return offline;
        }
    
        public DefaultRepositoryRequest setOffline(boolean offline) {
            this.offline = offline;
    
            return this;
        }
    
        public boolean isForceUpdate() {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 3.5K bytes
    - Viewed (0)
  3. maven-compat/src/main/resources/META-INF/maven/plugin-expressions/settings.paramdoc.xml

      <expressions>
        <expression>
          <syntax>settings.offline</syntax>
          <configuration>
            <![CDATA[
        <offline>true</offline>
        ]]></configuration>
          <description>
            <![CDATA[
          Flags the system as offline, to prevent accessing the network to resolve artifacts or execute plugins.
    
          NOTE: It's also possible to switch to offline mode on a per-build basis, using the '-o' command-line option.
    XML
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Jul 18 17:22:19 GMT 2022
    - 2K bytes
    - Viewed (0)
  4. maven-compat/src/main/java/org/apache/maven/repository/legacy/metadata/DefaultMetadataResolutionRequest.java

            this.resolveManagedVersions = resolveManagedVersions;
    
            return this;
        }
    
        public boolean isOffline() {
            return repositoryRequest.isOffline();
        }
    
        public DefaultMetadataResolutionRequest setOffline(boolean offline) {
            repositoryRequest.setOffline(offline);
    
            return this;
        }
    
        public boolean isForceUpdate() {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 3.5K bytes
    - Viewed (0)
  5. maven-compat/src/main/java/org/apache/maven/artifact/resolver/ArtifactResolutionRequest.java

                    .append(remoteRepositories);
    
            return sb.toString();
        }
    
        public boolean isOffline() {
            return offline;
        }
    
        public ArtifactResolutionRequest setOffline(boolean offline) {
            this.offline = offline;
    
            return this;
        }
    
        public boolean isForceUpdate() {
            return forceUpdate;
        }
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 11:28:54 GMT 2023
    - 8.2K bytes
    - Viewed (0)
  6. maven-compat/src/main/java/org/apache/maven/repository/legacy/metadata/MetadataResolutionRequest.java

         */
        boolean isOffline();
    
        /**
         * Enables/disables network access to remote repositories.
         *
         * @param offline {@code true} to disable remote access, {@code false} to allow network access.
         * @return This request, never {@code null}.
         */
        MetadataResolutionRequest setOffline(boolean offline);
    
        /**
         * Gets the artifact to resolve metadata for.
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 3.8K bytes
    - Viewed (0)
  7. maven-core/src/main/java/org/apache/maven/artifact/repository/RepositoryRequest.java

         */
        boolean isOffline();
    
        /**
         * Enables/disables network access to remote repositories.
         *
         * @param offline {@code true} to disable remote access, {@code false} to allow network access.
         * @return This request, never {@code null}.
         */
        RepositoryRequest setOffline(boolean offline);
    
        /**
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 3.1K bytes
    - Viewed (0)
  8. 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)
  9. 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)
  10. 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)
Back to top