Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for InvokerException (0.15 sec)

  1. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/forked/DefaultForkedMavenInvoker.java

     */
    package org.apache.maven.cling.invoker.mvn.forked;
    
    import java.io.IOException;
    import java.util.ArrayList;
    import java.util.Collections;
    import java.util.Map;
    
    import org.apache.maven.api.cli.InvokerException;
    import org.apache.maven.api.cli.mvn.MavenOptions;
    import org.apache.maven.api.cli.mvn.forked.ForkedMavenInvoker;
    import org.apache.maven.api.cli.mvn.forked.ForkedMavenInvokerRequest;
    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/ContainerCapsuleFactory.java

     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.cling.invoker;
    
    import org.apache.maven.api.annotations.Nonnull;
    import org.apache.maven.api.cli.InvokerException;
    import org.apache.maven.api.cli.InvokerRequest;
    import org.apache.maven.api.cli.Options;
    
    /**
     * Container capsule factory.
     *
     * @param <O> the options type
     * @param <R> the invoker request type
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  3. impl/maven-cli/src/main/java/org/apache/maven/cling/ClingSupport.java

     * under the License.
     */
    package org.apache.maven.cling;
    
    import java.io.IOException;
    
    import org.apache.maven.api.cli.Invoker;
    import org.apache.maven.api.cli.InvokerException;
    import org.apache.maven.api.cli.InvokerRequest;
    import org.apache.maven.api.cli.Options;
    import org.apache.maven.api.cli.ParserException;
    import org.codehaus.plexus.classworlds.ClassWorld;
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  4. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/resident/DefaultResidentMavenInvoker.java

        }
    
        @Override
        public void close() throws InvokerException {
            ArrayList<InvokerException> exceptions = new ArrayList<>();
            for (LocalContext context : residentContext.values()) {
                try {
                    context.shutDown();
                } catch (InvokerException e) {
                    exceptions.add(e);
                }
            }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  5. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/PlexusContainerCapsuleFactory.java

        @Override
        public ContainerCapsule createContainerCapsule(C context) throws InvokerException {
            try {
                return new PlexusContainerCapsule(Thread.currentThread().getContextClassLoader(), container(context));
            } catch (Exception e) {
                throw new InvokerException("Failed to create plexus container capsule", e);
            }
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  6. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/ContainerCapsule.java

     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.cling.invoker;
    
    import org.apache.maven.api.annotations.Nonnull;
    import org.apache.maven.api.cli.InvokerException;
    import org.apache.maven.api.services.Lookup;
    
    /**
     * Container capsule.
     */
    public interface ContainerCapsule extends AutoCloseable {
        /**
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  7. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/LookupInvoker.java

                            }
                            causes.add(e);
                        }
                    }
                }
                if (causes != null) {
                    InvokerException exception = new InvokerException("Unable to close context");
                    causes.forEach(exception::addSuppressed);
                    throw exception;
                }
            }
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 38K bytes
    - Viewed (0)
Back to top