Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for failOnSeverity (0.28 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. api/maven-api-cli/src/main/java/org/apache/maven/api/cli/Options.java

         * Returns the severity level at which the build should fail.
         *
         * @return an {@link Optional} containing the fail-on-severity string, or empty if not set
         */
        @Nonnull
        Optional<String> failOnSeverity();
    
        /**
         * Indicates whether to run in non-interactive mode.
         *
         * @return an {@link Optional} containing the boolean flag, or empty if not set
         */
        @Nonnull
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Tue Oct 22 14:53:58 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  4. 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)
  5. 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