Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 308 for invokers (0.1 sec)

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

     * to the execution of Maven commands and builds.
     *
     * <p>The Invoker is designed to be flexible, allowing for different implementations
     * that can handle various types of {@link InvokerRequest InvokerRequests}. It also implements
     * {@link AutoCloseable} to ensure proper resource management.</p>
     *
     * @param <R> The specific type of {@link InvokerRequest} this {@code Invoker} can handle, extending {@link InvokerRequest}
     *
     * @since 4.0.0
     */
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Thu Oct 03 16:03:55 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  2. api/maven-api-cli/src/main/java/org/apache/maven/api/cli/mvnenc/EncryptInvoker.java

    package org.apache.maven.api.cli.mvnenc;
    
    import org.apache.maven.api.annotations.Experimental;
    import org.apache.maven.api.cli.Invoker;
    import org.apache.maven.api.cli.InvokerException;
    
    /**
     * Defines the contract for a component responsible for invoking the Maven encryption tool.
     * This interface extends the general Invoker interface, specializing it for encryption-related operations.
     *
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Thu Oct 03 16:03:55 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  3. api/maven-api-cli/src/main/java/org/apache/maven/api/cli/mvn/MavenInvoker.java

    import org.apache.maven.api.annotations.Nonnull;
    import org.apache.maven.api.cli.Invoker;
    import org.apache.maven.api.cli.InvokerException;
    
    /**
     * Defines the contract for a component responsible for invoking Maven using information provided in an invoker request.
     * This interface extends the general {@link Invoker} interface, specializing it for Maven-specific operations.
     *
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Thu Oct 03 16:03:55 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/AbstractIterator.java

       * {@code next}. Once the implementation either invokes {@code endOfData} or throws an exception,
       * {@code computeNext} is guaranteed to never be called again.
       *
       * <p>If this method throws an exception, it will propagate outward to the {@code hasNext} or
       * {@code next} invocation that invoked this method. Any further attempts to use the iterator will
       * result in an {@link IllegalStateException}.
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Mar 18 02:04:10 UTC 2022
    - 6.4K bytes
    - Viewed (0)
  5. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvn/resident/DefaultResidentMavenInvokerTest.java

    import org.apache.maven.cling.invoker.ProtoLookup;
    import org.apache.maven.cling.invoker.mvn.DefaultMavenParser;
    import org.apache.maven.cling.invoker.mvn.MavenInvokerTestSupport;
    import org.codehaus.plexus.classworlds.ClassWorld;
    import org.junit.jupiter.api.Disabled;
    import org.junit.jupiter.api.Test;
    import org.junit.jupiter.api.io.CleanupMode;
    import org.junit.jupiter.api.io.TempDir;
    
    /**
     * Resident UT.
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  6. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvn/MavenInvokerTestSupport.java

            Files.writeString(appJava, appJavaString);
    
            Parser<R> parser = createParser();
            try (Invoker<R> invoker = createInvoker()) {
                for (String goal : goals) {
                    Path logFile = cwd.resolve(goal + "-build.log").toAbsolutePath();
                    int exitCode = invoker.invoke(parser.parse(ParserRequest.mvn(
                                    List.of("-l", logFile.toString(), goal),
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  7. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvn/local/DefaultLocalMavenInvokerTest.java

    import org.apache.maven.cling.invoker.ProtoLookup;
    import org.apache.maven.cling.invoker.mvn.DefaultMavenParser;
    import org.apache.maven.cling.invoker.mvn.MavenInvokerTestSupport;
    import org.codehaus.plexus.classworlds.ClassWorld;
    import org.junit.jupiter.api.Disabled;
    import org.junit.jupiter.api.Test;
    import org.junit.jupiter.api.io.CleanupMode;
    import org.junit.jupiter.api.io.TempDir;
    
    /**
     * Local UT.
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  8. impl/maven-cli/src/main/java/org/apache/maven/cling/ClingSupport.java

            this.classWorldManaged = classWorldManaged;
        }
    
        /**
         * The main entry point.
         */
        public int run(String[] args) throws IOException {
            try (Invoker<R> invoker = createInvoker()) {
                return invoker.invoke(parseArguments(args));
            } catch (ParserException e) {
                System.err.println(e.getMessage());
                return 1;
            } catch (InvokerException e) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  9. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvn/forked/DefaultForkedMavenInvokerTest.java

     * under the License.
     */
    package org.apache.maven.cling.invoker.mvn.forked;
    
    import java.nio.file.Path;
    import java.util.Arrays;
    
    import org.apache.maven.api.cli.Invoker;
    import org.apache.maven.api.cli.Parser;
    import org.apache.maven.api.cli.mvn.MavenOptions;
    import org.apache.maven.api.cli.mvn.forked.ForkedMavenInvokerRequest;
    import org.apache.maven.cling.invoker.mvn.MavenInvokerTestSupport;
    import org.junit.jupiter.api.Test;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  10. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/forked/DefaultForkedMavenInvoker.java

    import org.apache.maven.internal.impl.model.profile.Os;
    
    import static java.util.Objects.requireNonNull;
    
    /**
     * Forked invoker implementation, it spawns a subprocess with Maven.
     */
    public class DefaultForkedMavenInvoker implements ForkedMavenInvoker {
        @SuppressWarnings("MethodLength")
        @Override
        public int invoke(ForkedMavenInvokerRequest invokerRequest) throws InvokerException {
            requireNonNull(invokerRequest);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 9.1K bytes
    - Viewed (0)
Back to top