Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for InvokerException (0.29 sec)

  1. api/maven-api-cli/src/main/java/org/apache/maven/api/cli/InvokerException.java

     *
     * @since 4.0.0
     */
    @Experimental
    public class InvokerException extends MavenException {
        /**
         * Constructs a new {@code InvokerException} with the specified detail message.
         *
         * @param message the detail message explaining the cause of the exception
         */
        public InvokerException(@Nullable String message) {
            super(message);
        }
    
        /**
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Thu Oct 16 10:47:37 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  2. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/resident/ResidentMavenInvoker.java

                    exceptions.add(e);
                }
            }
            if (!exceptions.isEmpty()) {
                InvokerException exception = new InvokerException("Could not cleanly shut down context pool");
                exceptions.forEach(exception::addSuppressed);
                throw exception;
            }
        }
    
        @Override
        protected MavenContext createContext(InvokerRequest invokerRequest) {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Thu Sep 11 17:20:46 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  3. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/LookupContext.java

                        }
                        causes.add(e);
                    }
                }
            }
            if (causes != null) {
                InvokerException exception = new InvokerException("Unable to close context");
                causes.forEach(exception::addSuppressed);
                throw exception;
            }
        }
    
        public final void closeContainer() throws Exception {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Jun 11 13:14:09 UTC 2025
    - 5.7K bytes
    - Viewed (0)
  4. api/maven-api-cli/src/main/java/org/apache/maven/api/cli/Invoker.java

         * @return an integer representing the exit code of the invocation (0 typically indicates success)
         * @throws InvokerException if an error occurs during the invocation process.
         */
        int invoke(@Nonnull InvokerRequest invokerRequest) throws InvokerException;
    
        /**
         * Closes and disposes of this {@link Invoker} instance, releasing any resources it may hold.
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jan 31 20:56:58 UTC 2025
    - 2.6K bytes
    - Viewed (0)
  5. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnsh/builtin/BuiltinShellCommandRegistryFactory.java

    import java.util.HashMap;
    import java.util.List;
    import java.util.Map;
    import java.util.function.Consumer;
    import java.util.stream.Stream;
    
    import org.apache.maven.api.Lifecycle;
    import org.apache.maven.api.cli.InvokerException;
    import org.apache.maven.api.cli.ParserRequest;
    import org.apache.maven.api.di.Named;
    import org.apache.maven.api.di.Singleton;
    import org.apache.maven.api.services.LifecycleRegistry;
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Sat Jun 07 06:22:47 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  6. impl/maven-cli/src/main/java/org/apache/maven/cling/ClingSupport.java

    import java.io.IOException;
    import java.io.InputStream;
    import java.io.OutputStream;
    
    import org.apache.maven.api.annotations.Nullable;
    import org.apache.maven.api.cli.Invoker;
    import org.apache.maven.api.cli.InvokerException;
    import org.apache.maven.api.cli.Parser;
    import org.apache.maven.api.cli.ParserRequest;
    import org.apache.maven.api.services.MessageBuilderFactory;
    import org.apache.maven.cling.invoker.logging.SystemLogger;
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Sat Feb 08 16:25:25 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  7. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvn/MavenInvokerTestSupport.java

    import java.util.HashMap;
    import java.util.List;
    import java.util.Map;
    
    import eu.maveniverse.maven.mimir.testing.MimirInfuser;
    import org.apache.maven.api.cli.Invoker;
    import org.apache.maven.api.cli.InvokerException;
    import org.apache.maven.api.cli.Parser;
    import org.apache.maven.api.cli.ParserRequest;
    import org.apache.maven.jline.JLineMessageBuilderFactory;
    import org.codehaus.plexus.classworlds.ClassWorld;
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Oct 21 12:17:55 UTC 2025
    - 6.8K bytes
    - Viewed (0)
  8. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/LookupInvoker.java

                    }
                    return doInvoke(context);
                } catch (InvokerException.ExitException e) {
                    // contract of ExitException is that nothing needed by us
                    throw e;
                } catch (Exception e) {
                    // other exceptions (including InvokerException but sans Exit, see above): we need to inform user
                    throw handleException(context, e);
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Oct 28 13:01:07 UTC 2025
    - 43.2K bytes
    - Viewed (0)
  9. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvn/MavenInvokerTest.java

    import java.util.List;
    import java.util.Map;
    
    import com.google.common.jimfs.Configuration;
    import com.google.common.jimfs.Jimfs;
    import org.apache.maven.api.cli.Invoker;
    import org.apache.maven.api.cli.InvokerException;
    import org.apache.maven.api.cli.Parser;
    import org.apache.maven.cling.invoker.ProtoLookup;
    import org.codehaus.plexus.classworlds.ClassWorld;
    import org.junit.jupiter.api.Disabled;
    import org.junit.jupiter.api.Order;
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Oct 21 12:17:55 UTC 2025
    - 9.3K bytes
    - Viewed (0)
Back to top