Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for failOnSeverity (0.07 sec)

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

            }
            if (mavenOptions.showErrors().orElse(false)) {
                cmdAndArguments.add("--errors");
            }
            if (mavenOptions.failOnSeverity().isPresent()) {
                cmdAndArguments.add("--fail-on-severity");
                cmdAndArguments.add(mavenOptions.failOnSeverity().get());
            }
            if (mavenOptions.nonInteractive().orElse(false)) {
                cmdAndArguments.add("--non-interactive");
            }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  2. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/LayeredOptions.java

        @Override
        public Optional<Boolean> showErrors() {
            return returnFirstPresentOrEmpty(Options::showErrors);
        }
    
        @Override
        public Optional<String> failOnSeverity() {
            return returnFirstPresentOrEmpty(Options::failOnSeverity);
        }
    
        @Override
        public Optional<Boolean> nonInteractive() {
            return returnFirstPresentOrEmpty(Options::nonInteractive);
        }
    
        @Override
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  3. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/LookupInvoker.java

                    .setCause(error)
                    .log(message);
    
            if (mavenOptions.failOnSeverity().isPresent()) {
                String logLevelThreshold = mavenOptions.failOnSeverity().get();
                if (context.loggerFactory instanceof LogLevelRecorder recorder) {
                    LogLevelRecorder.Level level =
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 38K bytes
    - Viewed (0)
  4. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/CommonsCliOptions.java

                return Optional.of(Boolean.TRUE);
            }
            return Optional.empty();
        }
    
        @Override
        public Optional<String> failOnSeverity() {
            if (commandLine.hasOption(CLIManager.FAIL_ON_SEVERITY)) {
                return Optional.of(commandLine.getOptionValue(CLIManager.FAIL_ON_SEVERITY));
            }
            return Optional.empty();
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 18.5K bytes
    - Viewed (0)
Back to top