public class MavenWorkspaceRuntime extends AbstractMavenRuntime
| Constructor and Description |
|---|
MavenWorkspaceRuntime(String name) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addArtifact(IMavenLauncherConfiguration collector,
org.apache.maven.artifact.Artifact artifact) |
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.
|
protected ArtifactKey |
getDistributionArtifactKey() |
String |
getLocation() |
protected String |
getMainClass() |
protected IMavenProjectFacade |
getMavenDistribution() |
String |
getVersion() |
boolean |
isAvailable() |
boolean |
isEditable() |
String |
toString() |
collectExtensions, equals, getExtensions, getName, getSettings, hashCode, isLegacy, isSupportedVersion, setExtensionspublic MavenWorkspaceRuntime(String name)
protected ArtifactKey getDistributionArtifactKey()
protected String getMainClass()
public String getLocation()
getLocation in interface MavenRuntimegetLocation in class AbstractMavenRuntimepublic boolean isEditable()
isEditable in interface MavenRuntimeisEditable in class AbstractMavenRuntimepublic boolean isAvailable()
isAvailable in interface MavenRuntimeisAvailable in class AbstractMavenRuntimeprotected IMavenProjectFacade getMavenDistribution()
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.CoreExceptionprotected void addArtifact(IMavenLauncherConfiguration collector, org.apache.maven.artifact.Artifact artifact) throws org.eclipse.core.runtime.CoreException
org.eclipse.core.runtime.CoreExceptionpublic String getVersion()
getVersion in interface MavenRuntimegetVersion in class AbstractMavenRuntimeCopyright © 2005–2021 Eclipse Foundation. All rights reserved.