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, setExtensions
private 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 MavenRuntime
isEditable
in class AbstractMavenRuntime
public boolean isAvailable()
isAvailable
in interface MavenRuntime
isAvailable
in class AbstractMavenRuntime
public java.lang.String getLocation()
getLocation
in interface MavenRuntime
getLocation
in class AbstractMavenRuntime
public 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
MavenRuntime
createLauncherConfiguration
in interface MavenRuntime
createLauncherConfiguration
in class AbstractMavenRuntime
org.eclipse.core.runtime.CoreException
public java.lang.String toString()
toString
in class java.lang.Object
private java.lang.String getLauncherClasspath()
public java.lang.String getVersion()
getVersion
in interface MavenRuntime
getVersion
in class AbstractMavenRuntime
private java.lang.String getVersion0()