Search Options

Display Count
Sort
Preferred Language
Advanced Search

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

The search processing time has exceeded the limit. The displayed results may be partial.

  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/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