- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 437 for Invoker (0.06 sec)
-
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) -
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) -
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) -
impl/maven-cli/src/main/java/org/apache/maven/cling/MavenEncCling.java
import org.apache.maven.api.cli.Invoker; import org.apache.maven.api.cli.ParserException; import org.apache.maven.api.cli.ParserRequest; import org.apache.maven.api.cli.mvnenc.EncryptInvokerRequest; import org.apache.maven.api.cli.mvnenc.EncryptOptions; import org.apache.maven.cling.invoker.ProtoLogger; import org.apache.maven.cling.invoker.ProtoLookup; import org.apache.maven.cling.invoker.mvnenc.DefaultEncryptInvoker;
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.8K bytes - Viewed (0) -
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) -
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) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnenc/goals/Decrypt.java
*/ package org.apache.maven.cling.invoker.mvnenc.goals; import javax.inject.Inject; import javax.inject.Named; import javax.inject.Singleton; import org.apache.maven.api.services.MessageBuilderFactory; import org.apache.maven.cling.invoker.mvnenc.DefaultEncryptInvoker; import org.codehaus.plexus.components.secdispatcher.SecDispatcher; import static org.apache.maven.cling.invoker.mvnenc.DefaultEncryptInvoker.BAD_OPERATION;
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.1K bytes - Viewed (0) -
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) -
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) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/ContainerCapsuleFactory.java
*/ 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 * @param <C> the invoker context 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)