Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 43 for offline (0.12 sec)

  1. impl/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() {
    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/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() {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  3. compat/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;
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  4. compat/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.
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2K bytes
    - Viewed (0)
  5. impl/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);
    
        /**
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  6. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/LayeredMavenOptions.java

        @Override
        public Optional<String> alternatePomFile() {
            return returnFirstPresentOrEmpty(MavenOptions::alternatePomFile);
        }
    
        @Override
        public Optional<Boolean> offline() {
            return returnFirstPresentOrEmpty(MavenOptions::offline);
        }
    
        @Override
        public Optional<Boolean> nonRecursive() {
            return returnFirstPresentOrEmpty(MavenOptions::nonRecursive);
        }
    
        @Override
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  7. compat/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.
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  8. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/CommonsCliMavenOptions.java

                        .desc("Force the use of an alternate POM file (or directory with pom.xml)")
                        .build());
                options.addOption(Option.builder(OFFLINE)
                        .longOpt("offline")
                        .desc("Work offline")
                        .build());
                options.addOption(Option.builder(NON_RECURSIVE)
                        .longOpt("non-recursive")
                        .desc(
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 16K bytes
    - Viewed (0)
  9. compat/maven-embedder/src/main/java/org/apache/maven/cli/CLIManager.java

                    .valueSeparator('=')
                    .desc("Define a user property")
                    .build());
            options.addOption(Option.builder(Character.toString(OFFLINE))
                    .longOpt("offline")
                    .desc("Work offline")
                    .build());
            options.addOption(Option.builder(Character.toString(VERSION))
                    .longOpt("version")
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  10. impl/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;
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 31.7K bytes
    - Viewed (0)
Back to top