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.
WorkspaceStateWriter
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.VMArguments |
Modifier and Type | Method and Description |
---|---|
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 |
getVersion() |
MavenRuntimeLaunchSupport.VMArguments |
getVMArguments() |
static void |
removeTempFiles(org.eclipse.debug.core.ILaunch launch) |
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 static void removeTempFiles(org.eclipse.debug.core.ILaunch launch)
public String getLocation()
public File getClassworldConfFile()
public List<String> getBootClasspath()
public String getVersion()
public MavenRuntimeLaunchSupport.VMArguments getVMArguments()
public org.eclipse.jdt.launching.IVMRunner decorateVMRunner(org.eclipse.jdt.launching.IVMRunner runner)
Copyright © 2005–2015 Sonatype, Inc.. All rights reserved.