Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for showErrors (0.04 sec)

  1. impl/maven-core/src/main/java/org/apache/maven/execution/DefaultMavenExecutionRequest.java

            this.startTime = Instant.ofEpochMilli(startTime.getTime());
    
            return this;
        }
    
        @Override
        public MavenExecutionRequest setShowErrors(boolean showErrors) {
            this.showErrors = showErrors;
    
            return this;
        }
    
        @Override
        public MavenExecutionRequest setGoals(List<String> goals) {
            if (goals != null) {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Thu Dec 12 11:02:17 UTC 2024
    - 32.1K bytes
    - Viewed (0)
  2. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnsh/ShellInvoker.java

                                .builder()
                                .error("Error: " + e.getMessage())
                                .build());
                        if (context.options().showErrors().orElse(false)) {
                            e.printStackTrace(context.terminal.writer());
                        }
                        return ERROR;
                    }
                }
            }
        }
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Thu Oct 16 06:12:36 UTC 2025
    - 10.1K bytes
    - Viewed (0)
  3. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/MavenInvoker.java

                        totalProblems, (totalProblems == 1) ? "problem was" : "problems were"));
    
                if (context.options().showErrors().orElse(false)) {
                    for (BuilderProblem problem :
                            toolchainsResult.getProblems().problems().toList()) {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Thu Sep 11 17:20:46 UTC 2025
    - 28.2K bytes
    - Viewed (0)
  4. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/LookupInvoker.java

            return execute(context);
        }
    
        protected InvokerException.ExitException handleException(C context, Exception e) {
            printErrors(
                    context,
                    context.options().showErrors().orElse(false),
                    List.of(new Logger.Entry(Logger.Level.ERROR, e.getMessage(), e.getCause())),
                    context.logger);
            return new InvokerException.ExitException(2);
        }
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Oct 28 13:01:07 UTC 2025
    - 43.2K bytes
    - Viewed (0)
  5. impl/maven-core/src/main/java/org/apache/maven/execution/MavenExecutionRequest.java

        boolean isRecursive();
    
        MavenExecutionRequest setPom(File pom);
    
        File getPom();
    
        // Errors
        MavenExecutionRequest setShowErrors(boolean showErrors);
    
        boolean isShowErrors();
    
        // Transfer listeners
        MavenExecutionRequest setTransferListener(TransferListener transferListener);
    
        TransferListener getTransferListener();
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Thu Dec 12 11:02:17 UTC 2024
    - 18.6K bytes
    - Viewed (0)
  6. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/CommonsCliOptions.java

                return Optional.of(Boolean.TRUE);
            }
            return Optional.empty();
        }
    
        @Override
        public Optional<Boolean> showErrors() {
            if (commandLine.hasOption(CLIManager.SHOW_ERRORS) || verbose().orElse(false)) {
                return Optional.of(Boolean.TRUE);
            }
            return Optional.empty();
        }
    
        @Override
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Oct 08 07:36:42 UTC 2025
    - 21.3K bytes
    - Viewed (0)
Back to top