Interface ForkedMavenInvokerRequest
- All Superinterfaces:
InvokerRequest<MavenOptions>
,MavenInvokerRequest<MavenOptions>
- All Known Implementing Classes:
DefaultForkedMavenInvokerRequest
Represents a request to invoke Maven in a forked JVM.
This interface extends the
MavenInvokerRequest
, adding capabilities specific to forked Maven executions.- Since:
- 4.0.0
-
Method Summary
Modifier and TypeMethodDescriptionReturns the list of extra JVM arguments to be passed to the forked Maven process.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
-
Method Details
-
jvmArguments
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.- Returns:
- an Optional containing the list of extra JVM arguments, or empty if not specified
-