Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for showErrors (0.12 sec)

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

            this.startTime = startTime;
    
            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 Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 31.7K bytes
    - Viewed (0)
  2. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/DefaultMavenInvoker.java

                    }
                }
    
                context.logger.error("");
    
                if (!context.invokerRequest.options().showErrors().orElse(false)) {
                    context.logger.error("To see the full stack trace of the errors, re-run Maven with the '"
                            + MessageUtils.builder().strong("-e") + "' switch");
                }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 29.8K bytes
    - Viewed (0)
  3. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/LookupInvoker.java

        }
    
        protected InvokerException handleException(LookupInvokerContext<O, R, C> context, Exception e)
                throws InvokerException {
            boolean showStackTrace = context.invokerRequest.options().showErrors().orElse(false);
            if (showStackTrace) {
                context.logger.error(
                        "Error executing " + context.invokerRequest.parserRequest().commandName() + ".", e);
            } else {
    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<Boolean> showErrors() {
            if (commandLine.hasOption(CLIManager.SHOW_ERRORS) || verbose().orElse(false)) {
                return Optional.of(Boolean.TRUE);
            }
            return Optional.empty();
        }
    
        @Override
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 18.5K 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 Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 18.4K bytes
    - Viewed (0)
Back to top