public static class MavenRuntime.ForkedMavenRuntimeBuilder extends MavenRuntime.MavenRuntimeBuilder
args, classworldsConf, extensions, mavenHome, properties| Modifier and Type | Method and Description |
|---|---|
MavenRuntime |
build() |
MavenRuntime.ForkedMavenRuntimeBuilder |
withCliOptions(String... options) |
MavenRuntime.ForkedMavenRuntimeBuilder |
withEnvironment(Map<String,String> environment) |
MavenRuntime.ForkedMavenRuntimeBuilder |
withExtension(File extensionLocation) |
MavenRuntime.ForkedMavenRuntimeBuilder |
withExtensions(Collection<File> extensionLocations) |
MavenRuntime.ForkedMavenRuntimeBuilder |
withJvmOption(String jvmOption)
Adds a JVM option, as opposed to application option that can be added via
withCliOptions(String...). |
MavenRuntime.ForkedMavenRuntimeBuilder |
withJvmOptions(Collection<String> jvmOptions)
Add a JVM options, as opposed to application options that can be added via
withCliOptions(String...). |
MavenRuntime.ForkedMavenRuntimeBuilder |
withJvmOptions(String... jvmOptions)
Add a JVM options, as opposed to application options that can be added via
withCliOptions(String...). |
forkedBuilderpublic MavenRuntime.ForkedMavenRuntimeBuilder withEnvironment(Map<String,String> environment)
public MavenRuntime.ForkedMavenRuntimeBuilder withExtension(File extensionLocation)
withExtension in class MavenRuntime.MavenRuntimeBuilderpublic MavenRuntime.ForkedMavenRuntimeBuilder withExtensions(Collection<File> extensionLocations)
withExtensions in class MavenRuntime.MavenRuntimeBuilderpublic MavenRuntime.ForkedMavenRuntimeBuilder withCliOptions(String... options)
withCliOptions in class MavenRuntime.MavenRuntimeBuilderpublic MavenRuntime.ForkedMavenRuntimeBuilder withJvmOption(String jvmOption)
withCliOptions(String...). Use this method to add options you would normally pass to mvn/mvn.bat via
MAVEN_OPTS environment variable.jvmOption - the JVM option to addMavenRuntime.ForkedMavenRuntimeBuilderpublic MavenRuntime.ForkedMavenRuntimeBuilder withJvmOptions(String... jvmOptions)
withCliOptions(String...). Use this method to add options you would normally pass to mvn/mvn.bat via
MAVEN_OPTS environment variable.jvmOptions - the JVM options to addMavenRuntime.ForkedMavenRuntimeBuilderpublic MavenRuntime.ForkedMavenRuntimeBuilder withJvmOptions(Collection<String> jvmOptions)
withCliOptions(String...). Use this method to add options you would normally pass to mvn/mvn.bat via
MAVEN_OPTS environment variable.jvmOptions - the JVM options to addMavenRuntime.ForkedMavenRuntimeBuilderpublic MavenRuntime build()
build in class MavenRuntime.MavenRuntimeBuilderCopyright © 2014–2025. All rights reserved.