Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for getExitCode (1.08 sec)

  1. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnsh/builtin/BuiltinShellCommandRegistryFactory.java

                                    .build()));
                } catch (InvokerException.ExitException e) {
                    shellContext.logger.error("mvn command exited with exit code " + e.getExitCode());
                } catch (Exception e) {
                    saveException(e);
                }
            }
    
            private List<Completer> mvnCompleter(String name) {
                List<String> names;
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Sat Jun 07 06:22:47 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  2. api/maven-api-cli/src/main/java/org/apache/maven/api/cli/InvokerException.java

            private final int exitCode;
    
            public ExitException(int exitCode) {
                super("EXIT=" + exitCode);
                this.exitCode = exitCode;
            }
    
            public int getExitCode() {
                return exitCode;
            }
        }
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Thu Oct 16 10:47:37 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  3. impl/maven-cli/src/main/java/org/apache/maven/cling/ClingSupport.java

                                .stdErr(stdErr)
                                .embedded(embedded)
                                .build()));
            } catch (InvokerException.ExitException e) {
                return e.getExitCode();
            } catch (Exception e) {
                // last resort; as ideally we should get ExitException only
                new SystemLogger(stdErr).error(e.getMessage(), e);
                return 1;
            } finally {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Sat Feb 08 16:25:25 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  4. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvn/MavenInvokerTestSupport.java

                                        .embedded(true)
                                        .build()));
                    } catch (InvokerException.ExitException e) {
                        exitCode = e.getExitCode();
                        exception = e;
                    } catch (Exception e) {
                        exception = e;
                    }
    
                    // dump things out
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Oct 21 12:17:55 UTC 2025
    - 6.8K bytes
    - Viewed (0)
Back to top