Class DefaultForkedMavenInvokerRequest
java.lang.Object
org.apache.maven.cling.invoker.BaseInvokerRequest<MavenOptions>
org.apache.maven.cling.invoker.mvn.DefaultMavenInvokerRequest<MavenOptions>
org.apache.maven.cling.invoker.mvn.forked.DefaultForkedMavenInvokerRequest
- All Implemented Interfaces:
InvokerRequest<MavenOptions>
,ForkedMavenInvokerRequest
,MavenInvokerRequest<MavenOptions>
public class DefaultForkedMavenInvokerRequest
extends DefaultMavenInvokerRequest<MavenOptions>
implements ForkedMavenInvokerRequest
Maven execution request.
-
Constructor Summary
ConstructorDescriptionDefaultForkedMavenInvokerRequest
(ParserRequest parserRequest, Path cwd, Path installationDirectory, Path userHomeDirectory, Map<String, String> userProperties, Map<String, String> systemProperties, Path topDirectory, Path rootDirectory, InputStream in, OutputStream out, OutputStream err, List<CoreExtension> coreExtensions, List<String> jvmArguments, MavenOptions options) -
Method Summary
Modifier and TypeMethodDescriptionReturns the list of extra JVM arguments to be passed to the forked Maven process.Methods inherited from class org.apache.maven.cling.invoker.mvn.DefaultMavenInvokerRequest
options
Methods inherited from class org.apache.maven.cling.invoker.BaseInvokerRequest
coreExtensions, cwd, err, in, installationDirectory, out, parserRequest, rootDirectory, systemProperties, topDirectory, userHomeDirectory, userProperties
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.apache.maven.api.cli.InvokerRequest
coreExtensions, cwd, err, in, installationDirectory, logger, lookup, messageBuilderFactory, options, out, parserRequest, rootDirectory, systemProperties, topDirectory, userHomeDirectory, userProperties
-
Constructor Details
-
DefaultForkedMavenInvokerRequest
public DefaultForkedMavenInvokerRequest(ParserRequest parserRequest, Path cwd, Path installationDirectory, Path userHomeDirectory, Map<String, String> userProperties, Map<String, String> systemProperties, Path topDirectory, Path rootDirectory, InputStream in, OutputStream out, OutputStream err, List<CoreExtension> coreExtensions, List<String> jvmArguments, MavenOptions options)
-
-
Method Details
-
jvmArguments
Description copied from interface:ForkedMavenInvokerRequest
Returns the list of extra JVM arguments to be passed to the forked Maven process. These arguments allow for customization of the JVM environment in which Maven will run.- Specified by:
jvmArguments
in interfaceForkedMavenInvokerRequest
- Returns:
- an Optional containing the list of extra JVM arguments, or empty if not specified
-