Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- argument(String) - Method in class org.apache.maven.api.cli.ExecutorRequest.Builder
- arguments() - Method in interface org.apache.maven.api.cli.ExecutorRequest
-
The immutable list of arguments to pass to the command.
- arguments(List<String>) - Method in class org.apache.maven.api.cli.ExecutorRequest.Builder
- artifactPath(ExecutorRequest.Builder, String, String) - Method in interface org.apache.maven.cling.executor.ExecutorTool
-
Returns relative (to
ExecutorTool.localRepository(ExecutorRequest.Builder)
) path of given artifact in local repository. - artifactPath(ExecutorRequest.Builder, String, String) - Method in class org.apache.maven.cling.executor.internal.HelperImpl
- artifactPath(ExecutorRequest.Builder, String, String) - Method in class org.apache.maven.cling.executor.internal.ToolboxTool
- AUTO - Enum constant in enum class org.apache.maven.cling.executor.ExecutorHelper.Mode
-
Automatically decide.
B
- build() - Method in class org.apache.maven.api.cli.ExecutorRequest.Builder
C
- cacheContexts - Variable in class org.apache.maven.cling.executor.embedded.EmbeddedMavenExecutor
- close() - Method in interface org.apache.maven.api.cli.Executor
-
Closes and disposes of this
Executor
instance, releasing any resources it may hold. - close() - Method in class org.apache.maven.cling.executor.embedded.EmbeddedMavenExecutor
- closed - Variable in class org.apache.maven.cling.executor.embedded.EmbeddedMavenExecutor
- command() - Method in interface org.apache.maven.api.cli.ExecutorRequest
-
The command to execute, ie "mvn".
- command(String) - Method in class org.apache.maven.api.cli.ExecutorRequest.Builder
- contexts - Variable in class org.apache.maven.cling.executor.embedded.EmbeddedMavenExecutor
- createMavenBootClassLoader(Path, List<URL>) - Method in class org.apache.maven.cling.executor.embedded.EmbeddedMavenExecutor
- cwd() - Method in interface org.apache.maven.api.cli.ExecutorRequest
-
Returns the current working directory for the Maven execution.
- cwd(Path) - Method in class org.apache.maven.api.cli.ExecutorRequest.Builder
D
- discoverMavenHome() - Static method in interface org.apache.maven.api.cli.ExecutorRequest
- disposeRuntimeCreatedRealms(EmbeddedMavenExecutor.Context) - Method in class org.apache.maven.cling.executor.embedded.EmbeddedMavenExecutor
- doClose(EmbeddedMavenExecutor.Context) - Method in class org.apache.maven.cling.executor.embedded.EmbeddedMavenExecutor
- doCreate(Path, ExecutorRequest) - Method in class org.apache.maven.cling.executor.embedded.EmbeddedMavenExecutor
- doExecute(ExecutorRequest, Consumer<Process>) - Method in class org.apache.maven.cling.executor.forked.ForkedMavenExecutor
- dump(ExecutorRequest.Builder) - Method in interface org.apache.maven.cling.executor.ExecutorTool
-
Performs a diagnostic dump of the environment.
- dump(ExecutorRequest.Builder) - Method in class org.apache.maven.cling.executor.internal.HelperImpl
- dump(ExecutorRequest.Builder) - Method in class org.apache.maven.cling.executor.internal.ToolboxTool
E
- EMBEDDED - Enum constant in enum class org.apache.maven.cling.executor.ExecutorHelper.Mode
-
Forces embedded execution.
- EmbeddedMavenExecutor - Class in org.apache.maven.cling.executor.embedded
-
Embedded executor implementation, that invokes Maven from installation directory within this same JVM but in isolated classloader.
- EmbeddedMavenExecutor() - Constructor for class org.apache.maven.cling.executor.embedded.EmbeddedMavenExecutor
- EmbeddedMavenExecutor(boolean) - Constructor for class org.apache.maven.cling.executor.embedded.EmbeddedMavenExecutor
- EmbeddedMavenExecutor.Context - Class in org.apache.maven.cling.executor.embedded
- EmbeddedMavenExecutor.Key - Class in org.apache.maven.cling.executor.embedded
- environmentVariable(String, String) - Method in class org.apache.maven.api.cli.ExecutorRequest.Builder
- environmentVariables() - Method in interface org.apache.maven.api.cli.ExecutorRequest
-
Returns the map of environment variables to set before executing process.
- environmentVariables(Map<String, String>) - Method in class org.apache.maven.api.cli.ExecutorRequest.Builder
- equals(Object) - Method in class org.apache.maven.cling.executor.embedded.EmbeddedMavenExecutor.Key
- execute(ExecutorRequest) - Method in interface org.apache.maven.api.cli.Executor
-
Invokes the tool application using the provided
ExecutorRequest
. - execute(ExecutorRequest) - Method in class org.apache.maven.cling.executor.embedded.EmbeddedMavenExecutor
- execute(ExecutorRequest) - Method in interface org.apache.maven.cling.executor.ExecutorHelper
-
Executes the request with preferred mode executor.
- execute(ExecutorRequest) - Method in class org.apache.maven.cling.executor.forked.ForkedMavenExecutor
- execute(ExecutorHelper.Mode, ExecutorRequest) - Method in interface org.apache.maven.cling.executor.ExecutorHelper
-
Executes the request with passed in mode executor.
- execute(ExecutorHelper.Mode, ExecutorRequest) - Method in class org.apache.maven.cling.executor.internal.HelperImpl
- Executor - Interface in org.apache.maven.api.cli
-
Defines the contract for a component responsible for executing a Maven tool using the information provided in an
ExecutorRequest
. - ExecutorException - Exception in org.apache.maven.api.cli
-
Represents an exception that occurs during the execution of a Maven build or command.
- ExecutorException(String) - Constructor for exception org.apache.maven.api.cli.ExecutorException
-
Constructs a new
InvokerException
with the specified detail message. - ExecutorException(String, Throwable) - Constructor for exception org.apache.maven.api.cli.ExecutorException
-
Constructs a new
InvokerException
with the specified detail message and cause. - ExecutorHelper - Interface in org.apache.maven.cling.executor
-
Helper class for routing Maven execution based on preferences and/or issued execution requests.
- ExecutorHelper.Mode - Enum Class in org.apache.maven.cling.executor
-
The modes of execution.
- executorRequest() - Method in interface org.apache.maven.cling.executor.ExecutorHelper
-
Creates pre-populated builder for
ExecutorRequest
. - executorRequest() - Method in class org.apache.maven.cling.executor.internal.HelperImpl
- ExecutorRequest - Interface in org.apache.maven.api.cli
-
Represents a request to execute Maven with command-line arguments.
- ExecutorRequest.Builder - Class in org.apache.maven.api.cli
- ExecutorTool - Interface in org.apache.maven.cling.executor
-
A tool implementing some common Maven operations.
F
- FORKED - Enum constant in enum class org.apache.maven.cling.executor.ExecutorHelper.Mode
-
Forces forked execution.
- ForkedMavenExecutor - Class in org.apache.maven.cling.executor.forked
-
Forked executor implementation, that spawns a subprocess with Maven from the installation directory.
- ForkedMavenExecutor() - Constructor for class org.apache.maven.cling.executor.forked.ForkedMavenExecutor
G
- getCanonicalPath(Path) - Static method in interface org.apache.maven.api.cli.ExecutorRequest
- getDefaultMode() - Method in interface org.apache.maven.cling.executor.ExecutorHelper
-
Returns the preferred mode of this helper.
- getDefaultMode() - Method in class org.apache.maven.cling.executor.internal.HelperImpl
- getExecutor(ExecutorHelper.Mode, ExecutorRequest) - Method in class org.apache.maven.cling.executor.internal.HelperImpl
- getMavenVersion(Class<?>) - Method in class org.apache.maven.cling.executor.embedded.EmbeddedMavenExecutor
H
- hashCode() - Method in class org.apache.maven.cling.executor.embedded.EmbeddedMavenExecutor.Key
- HelperImpl - Class in org.apache.maven.cling.executor.internal
-
Simple router to executors, and delegate to executor tool.
- HelperImpl(ExecutorHelper.Mode, Path, Executor, Executor) - Constructor for class org.apache.maven.cling.executor.internal.HelperImpl
I
- installationDirectory() - Method in interface org.apache.maven.api.cli.ExecutorRequest
-
Returns the Maven installation directory.
- installationDirectory(Path) - Method in class org.apache.maven.api.cli.ExecutorRequest.Builder
- IS_WINDOWS - Static variable in interface org.apache.maven.api.cli.Executor
J
- jvmArgument(String) - Method in class org.apache.maven.api.cli.ExecutorRequest.Builder
- jvmArguments() - Method in interface org.apache.maven.api.cli.ExecutorRequest
-
Returns the list of extra JVM arguments to be passed to the forked process.
- jvmArguments(List<String>) - Method in class org.apache.maven.api.cli.ExecutorRequest.Builder
- jvmSystemProperties() - Method in interface org.apache.maven.api.cli.ExecutorRequest
-
Returns the map of Java System Properties to set before executing process.
- jvmSystemProperties(Map<String, String>) - Method in class org.apache.maven.api.cli.ExecutorRequest.Builder
- jvmSystemProperty(String, String) - Method in class org.apache.maven.api.cli.ExecutorRequest.Builder
L
- localRepository(ExecutorRequest.Builder) - Method in interface org.apache.maven.cling.executor.ExecutorTool
-
Returns the location of local repository, as detected by Maven.
- localRepository(ExecutorRequest.Builder) - Method in class org.apache.maven.cling.executor.internal.HelperImpl
- localRepository(ExecutorRequest.Builder) - Method in class org.apache.maven.cling.executor.internal.ToolboxTool
M
- MAIN_CLASSES - Static variable in class org.apache.maven.cling.executor.embedded.EmbeddedMavenExecutor
- mavenBuilder(Path) - Static method in interface org.apache.maven.api.cli.ExecutorRequest
-
Returns new builder pre-set to run Maven.
- mavenVersion() - Method in interface org.apache.maven.cling.executor.ExecutorHelper
-
High level operation, returns the version of the Maven covered by this helper.
- mavenVersion() - Method in class org.apache.maven.cling.executor.internal.HelperImpl
- mavenVersion(ExecutorRequest) - Method in interface org.apache.maven.api.cli.Executor
-
Returns the Maven version that provided
ExecutorRequest
point at (would use). - mavenVersion(ExecutorRequest) - Method in class org.apache.maven.cling.executor.embedded.EmbeddedMavenExecutor
- mavenVersion(ExecutorRequest) - Method in class org.apache.maven.cling.executor.forked.ForkedMavenExecutor
- mayCreate(ExecutorRequest) - Method in class org.apache.maven.cling.executor.embedded.EmbeddedMavenExecutor
- metadataPath(ExecutorRequest.Builder, String, String) - Method in interface org.apache.maven.cling.executor.ExecutorTool
-
Returns relative (to
ExecutorTool.localRepository(ExecutorRequest.Builder)
) path of given metadata in local repository. - metadataPath(ExecutorRequest.Builder, String, String) - Method in class org.apache.maven.cling.executor.internal.HelperImpl
- metadataPath(ExecutorRequest.Builder, String, String) - Method in class org.apache.maven.cling.executor.internal.ToolboxTool
- MVN - Static variable in interface org.apache.maven.api.cli.ExecutorRequest
-
The Maven command.
O
- org.apache.maven.api.cli - package org.apache.maven.api.cli
- org.apache.maven.cling.executor - package org.apache.maven.cling.executor
- org.apache.maven.cling.executor.embedded - package org.apache.maven.cling.executor.embedded
- org.apache.maven.cling.executor.forked - package org.apache.maven.cling.executor.forked
- org.apache.maven.cling.executor.internal - package org.apache.maven.cling.executor.internal
- originalClassLoader - Variable in class org.apache.maven.cling.executor.embedded.EmbeddedMavenExecutor
- originalProperties - Variable in class org.apache.maven.cling.executor.embedded.EmbeddedMavenExecutor
- originalStderr - Variable in class org.apache.maven.cling.executor.embedded.EmbeddedMavenExecutor
- originalStdout - Variable in class org.apache.maven.cling.executor.embedded.EmbeddedMavenExecutor
P
- prepareProperties(ExecutorRequest) - Method in class org.apache.maven.cling.executor.embedded.EmbeddedMavenExecutor
S
- stderrConsumer() - Method in interface org.apache.maven.api.cli.ExecutorRequest
-
Optional consumer for STD err of the Maven.
- stderrConsumer(OutputStream) - Method in class org.apache.maven.api.cli.ExecutorRequest.Builder
- stdoutConsumer() - Method in interface org.apache.maven.api.cli.ExecutorRequest
-
Optional consumer for STD out of the Maven.
- stdoutConsumer(OutputStream) - Method in class org.apache.maven.api.cli.ExecutorRequest.Builder
T
- toBuilder() - Method in interface org.apache.maven.api.cli.ExecutorRequest
-
Returns
ExecutorRequest.Builder
created from this instance. - ToolboxTool - Class in org.apache.maven.cling.executor.internal
-
ExecutorTool
implementation based on Maveniverse Toolbox. - ToolboxTool(ExecutorHelper) - Constructor for class org.apache.maven.cling.executor.internal.ToolboxTool
U
- UNKNOWN_VERSION - Static variable in interface org.apache.maven.api.cli.Executor
-
Maven version string returned when the actual version of Maven cannot be determined.
- userHomeDirectory() - Method in interface org.apache.maven.api.cli.ExecutorRequest
-
Returns the user's home directory.
- userHomeDirectory(Path) - Method in class org.apache.maven.api.cli.ExecutorRequest.Builder
V
- validate(ExecutorRequest) - Method in class org.apache.maven.cling.executor.embedded.EmbeddedMavenExecutor
- validate(ExecutorRequest) - Method in class org.apache.maven.cling.executor.forked.ForkedMavenExecutor
- valueOf(String) - Static method in enum class org.apache.maven.cling.executor.ExecutorHelper.Mode
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class org.apache.maven.cling.executor.ExecutorHelper.Mode
-
Returns an array containing the constants of this enum class, in the order they are declared.
W
- wrapStdouterrConsumer(ExecutorRequest) - Method in class org.apache.maven.cling.executor.forked.ForkedMavenExecutor
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form