Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 79 for _resume (0.05 sec)

  1. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/CommonsCliMavenOptions.java

                options.addOption(Option.builder(RESUME)
                        .longOpt("resume")
                        .desc(
                                "Resume reactor from the last failed project, using the resume.properties file in the build directory")
                        .build());
                options.addOption(Option.builder(RESUME_FROM)
                        .longOpt("resume-from")
                        .hasArg()
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 16K bytes
    - Viewed (0)
  2. impl/maven-core/src/main/java/org/apache/maven/execution/DefaultBuildResumptionDataRepository.java

                LOGGER.warn("The {} file does not exist. The --resume / -r feature will not work.", path);
                return properties;
            }
    
            try (Reader reader = Files.newBufferedReader(path)) {
                properties.load(reader);
            } catch (IOException e) {
                LOGGER.warn("Unable to read {}. The --resume / -r feature will not work.", path);
            }
    
            return properties;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  3. impl/maven-core/src/main/java/org/apache/maven/execution/BuildResumptionAnalyzer.java

     * under the License.
     */
    package org.apache.maven.execution;
    
    import java.util.Optional;
    
    /**
     * Instances of this class are responsible for determining whether it makes sense to "resume" a build (i.e., using
     * the {@code --resume} flag.
     */
    public interface BuildResumptionAnalyzer {
        /**
         * Construct an instance of {@link BuildResumptionData} based on the outcome of the current Maven build.
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  4. api/maven-api-cli/src/main/java/org/apache/maven/api/cli/mvn/MavenOptions.java

        /**
         * Indicates whether Maven should resume from the last failed project in a previous build.
         *
         * @return an {@link Optional} containing true if Maven should resume from the last failure, false if not, or empty if not specified
         */
        @Nonnull
        Optional<Boolean> resume();
    
        /**
         * Returns the project to resume the build from.
         *
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Thu Oct 03 16:03:55 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  5. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/LayeredMavenOptions.java

        @Override
        public Optional<Boolean> failNever() {
            return returnFirstPresentOrEmpty(MavenOptions::failNever);
        }
    
        @Override
        public Optional<Boolean> resume() {
            return returnFirstPresentOrEmpty(MavenOptions::resume);
        }
    
        @Override
        public Optional<String> resumeFrom() {
            return returnFirstPresentOrEmpty(MavenOptions::resumeFrom);
        }
    
        @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)
  6. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/forked/DefaultForkedMavenInvoker.java

                cmdAndArguments.add("--fail-never");
            }
            if (mavenOptions.resume().orElse(false)) {
                cmdAndArguments.add("--resume");
            }
            if (mavenOptions.resumeFrom().isPresent()) {
                cmdAndArguments.add("--resume-from");
                cmdAndArguments.add(mavenOptions.resumeFrom().get());
            }
            if (mavenOptions.projects().isPresent()) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  7. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/DefaultMavenInvoker.java

            context.logger.error("");
            context.logger.error("After correcting the problems, you can resume the build with the command");
            context.logger.error(
                    MessageUtils.builder().a("  ").strong(resumeBuildHint).toString());
        }
    
        /**
         * A helper method to determine the value to resume the build with {@code -rf} taking into account the edge case
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 29.8K bytes
    - Viewed (0)
  8. cmd/batch-handlers.go

    	randomWait := func() time.Duration {
    		// randomWait depends on the number of nodes to avoid triggering resume and cleanups at the same time.
    		return time.Duration(rand.Float64() * float64(time.Duration(globalEndpoints.NEndpoints())*time.Hour))
    	}
    
    	go func() {
    		jpool.resume(randomWait)
    		jpool.cleanupReports(randomWait)
    	}()
    
    	return jpool
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Oct 18 15:32:09 UTC 2024
    - 62.2K bytes
    - Viewed (0)
  9. impl/maven-core/src/main/java/org/apache/maven/execution/BuildResumptionData.java

     * under the License.
     */
    package org.apache.maven.execution;
    
    import java.util.List;
    
    /**
     * This class holds the information required to enable resuming a Maven build with {@code --resume}.
     */
    public class BuildResumptionData {
        /**
         * The list of projects that remain to be built.
         */
        private final List<String> remainingProjects;
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/smb2/ioctl/SrvRequestResumeKeyResponse.java

        public int decode ( byte[] buffer, int bufferIndex, int len ) throws SMBProtocolDecodingException {
            int start = bufferIndex;
            if ( len < 24 ) {
                throw new SMBProtocolDecodingException("Invalid resume key");
            }
    
            this.resumeKey = new byte[24];
            System.arraycopy(buffer, bufferIndex, this.resumeKey, 0, 24);
            bufferIndex += 24;
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 1.8K bytes
    - Viewed (0)
Back to top