public class MavenRuntimeLaunchSupport extends Object
Generates classworld configuration file, i.e. m2.conf. Generated classworld configuration file will include cliresolver for launch configuration that have workspace resolution enabled.
Sets the following conventional launch configuration attributes.
WorkspaceState
for details of the state file format. Only set if workspace dependency resolution is enabled
for the launch configuration.Modifier and Type | Class and Description |
---|---|
static class |
MavenRuntimeLaunchSupport.Builder |
static class |
MavenRuntimeLaunchSupport.VMArguments |
Modifier and Type | Method and Description |
---|---|
void |
applyMavenRuntime(MavenRuntimeLaunchSupport.VMArguments properties) |
static void |
applyWorkspaceArtifacts(MavenRuntimeLaunchSupport.VMArguments properties) |
static MavenRuntimeLaunchSupport.Builder |
builder(org.eclipse.debug.core.ILaunchConfiguration configuration) |
static MavenRuntimeLaunchSupport |
create(org.eclipse.debug.core.ILaunchConfiguration configuration,
org.eclipse.debug.core.ILaunch launch,
org.eclipse.core.runtime.IProgressMonitor monitor) |
org.eclipse.jdt.launching.IVMRunner |
decorateVMRunner(org.eclipse.jdt.launching.IVMRunner runner) |
List<String> |
getBootClasspath()
Bootstrap classpath of the Maven runtime, normally only contains classworlds jar.
|
File |
getClassworldConfFile()
Location of classworld configuration file, i.e.
|
String |
getLocation()
MAVEN_HOME or equivalent location of the Maven runtime.
|
String |
getSettings() |
String |
getVersion() |
MavenRuntimeLaunchSupport.VMArguments |
getVMArguments() |
public static MavenRuntimeLaunchSupport.Builder builder(org.eclipse.debug.core.ILaunchConfiguration configuration) throws org.eclipse.core.runtime.CoreException
org.eclipse.core.runtime.CoreException
public static MavenRuntimeLaunchSupport create(org.eclipse.debug.core.ILaunchConfiguration configuration, org.eclipse.debug.core.ILaunch launch, org.eclipse.core.runtime.IProgressMonitor monitor) throws org.eclipse.core.runtime.CoreException
org.eclipse.core.runtime.CoreException
public String getLocation()
public File getClassworldConfFile()
public List<String> getBootClasspath()
public String getSettings()
public String getVersion()
public MavenRuntimeLaunchSupport.VMArguments getVMArguments()
public void applyMavenRuntime(MavenRuntimeLaunchSupport.VMArguments properties)
public static void applyWorkspaceArtifacts(MavenRuntimeLaunchSupport.VMArguments properties)
public org.eclipse.jdt.launching.IVMRunner decorateVMRunner(org.eclipse.jdt.launching.IVMRunner runner)
Copyright © 2005–2017 Eclipse Foundation. All rights reserved.