Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for suppressSnapshotUpdates (0.11 sec)

  1. 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)
  2. 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