Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 3 of 3 for failOnSeverity (0.1 seconds)

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

            }
        }
    
        protected void activateLogging(C context) throws Exception {
            context.slf4jConfiguration.activate();
            if (context.options().failOnSeverity().isPresent()) {
                String logLevelThreshold = context.options().failOnSeverity().get();
                if (context.loggerFactory instanceof LogLevelRecorder recorder) {
                    LogLevelRecorder.Level level =
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Oct 28 13:01:07 GMT 2025
    - 43.2K bytes
    - Click Count (0)
  2. 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();
        }
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Oct 08 07:36:42 GMT 2025
    - 21.3K bytes
    - Click Count (0)
  3. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/BaseParser.java

            }
    
            return getInvokerRequest(context);
        }
    
        protected void validate(LocalContext context) {
            Options options = context.options;
    
            options.failOnSeverity().ifPresent(severity -> {
                String c = severity.toLowerCase(Locale.ENGLISH);
                if (!Arrays.asList("warn", "warning", "error").contains(c)) {
                    context.parsingFailed = true;
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 10 07:39:11 GMT 2025
    - 25.5K bytes
    - Click Count (0)
Back to Top