Interface ForkedMavenInvokerRequest

All Superinterfaces:
InvokerRequest<MavenOptions>, MavenInvokerRequest<MavenOptions>
All Known Implementing Classes:
DefaultForkedMavenInvokerRequest

@Experimental public interface ForkedMavenInvokerRequest extends MavenInvokerRequest<MavenOptions>
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 Details

    • jvmArguments

      @Nonnull Optional<List<String>> 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