public class MavenExternalRuntime extends AbstractMavenRuntime
| Modifier and Type | Class and Description |
|---|---|
private static class |
MavenExternalRuntime.ExceptionWrapper |
| Modifier and Type | Field and Description |
|---|---|
private java.lang.String |
location |
private static org.slf4j.Logger |
log |
private static java.lang.String |
PROPERTY_MAVEN_HOME |
private java.lang.String |
version |
| Constructor and Description |
|---|
MavenExternalRuntime(java.lang.String location) |
MavenExternalRuntime(java.lang.String name,
java.lang.String location) |
| Modifier and Type | Method and Description |
|---|---|
void |
createLauncherConfiguration(IMavenLauncherConfiguration collector,
org.eclipse.core.runtime.IProgressMonitor monitor)
Reads m2.conf file and notifies configuration collector of the logical content of plexus configuration.
|
private java.lang.String |
getLauncherClasspath() |
private java.io.File |
getLauncherConfigurationFile() |
java.lang.String |
getLocation() |
java.lang.String |
getMainTypeName() |
java.lang.String |
getVersion() |
private java.lang.String |
getVersion0() |
boolean |
isAvailable() |
boolean |
isEditable() |
java.lang.String |
toString() |
collectExtensions, equals, getExtensions, getName, getSettings, hashCode, isLegacy, isSupportedVersion, setExtensionsprivate static final org.slf4j.Logger log
private static final java.lang.String PROPERTY_MAVEN_HOME
private final java.lang.String location
private transient java.lang.String version
public MavenExternalRuntime(java.lang.String location)
public MavenExternalRuntime(java.lang.String name,
java.lang.String location)
public boolean isEditable()
isEditable in interface MavenRuntimeisEditable in class AbstractMavenRuntimepublic boolean isAvailable()
isAvailable in interface MavenRuntimeisAvailable in class AbstractMavenRuntimepublic java.lang.String getLocation()
getLocation in interface MavenRuntimegetLocation in class AbstractMavenRuntimepublic java.lang.String getMainTypeName()
private java.io.File getLauncherConfigurationFile()
public void createLauncherConfiguration(IMavenLauncherConfiguration collector, org.eclipse.core.runtime.IProgressMonitor monitor) throws org.eclipse.core.runtime.CoreException
MavenRuntimecreateLauncherConfiguration in interface MavenRuntimecreateLauncherConfiguration in class AbstractMavenRuntimeorg.eclipse.core.runtime.CoreExceptionpublic java.lang.String toString()
toString in class java.lang.Objectprivate java.lang.String getLauncherClasspath()
public java.lang.String getVersion()
getVersion in interface MavenRuntimegetVersion in class AbstractMavenRuntimeprivate java.lang.String getVersion0()