Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for suppressSnapshotUpdates (0.37 sec)

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

            return collectListIfPresentOrEmpty(MavenOptions::activatedProfiles);
        }
    
        @Override
        public Optional<Boolean> suppressSnapshotUpdates() {
            return returnFirstPresentOrEmpty(MavenOptions::suppressSnapshotUpdates);
        }
    
        @Override
        public Optional<Boolean> strictChecksums() {
            return returnFirstPresentOrEmpty(MavenOptions::strictChecksums);
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  2. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/forked/DefaultForkedMavenInvoker.java

                cmdAndArguments.add("--activate-profiles");
                cmdAndArguments.add(
                        String.join(",", mavenOptions.activatedProfiles().get()));
            }
            if (mavenOptions.suppressSnapshotUpdates().orElse(false)) {
                cmdAndArguments.add("--no-snapshot-updates");
            }
            if (mavenOptions.strictChecksums().orElse(false)) {
                cmdAndArguments.add("--strict-checksums");
            }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  3. api/maven-api-cli/src/main/java/org/apache/maven/api/cli/mvn/MavenOptions.java

         *
         * @return an {@link Optional} containing true if SNAPSHOT updates should be suppressed, false if not, or empty if not specified
         */
        @Nonnull
        Optional<Boolean> suppressSnapshotUpdates();
    
        /**
         * Indicates whether Maven should use strict checksum verification.
         *
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Thu Oct 03 16:03:55 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  4. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/CommonsCliMavenOptions.java

                return Optional.of(Arrays.asList(commandLine.getOptionValues(CLIManager.ACTIVATE_PROFILES)));
            }
            return Optional.empty();
        }
    
        @Override
        public Optional<Boolean> suppressSnapshotUpdates() {
            if (commandLine.hasOption(CLIManager.SUPPRESS_SNAPSHOT_UPDATES)) {
                return Optional.of(Boolean.TRUE);
            }
            return Optional.empty();
        }
    
        @Override
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 16K bytes
    - Viewed (0)
  5. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/DefaultMavenInvoker.java

                request.setRootDirectory(context.invokerRequest.topDirectory());
            }
    
            MavenOptions options = context.invokerRequest.options();
            request.setNoSnapshotUpdates(options.suppressSnapshotUpdates().orElse(false));
            request.setGoals(options.goals().orElse(List.of()));
            request.setReactorFailureBehavior(determineReactorFailureBehaviour(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)
Back to top