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 |
getSettings() |
String |
getVersion() |
boolean |
isAvailable() |
boolean |
isEditable() |
String |
toString() |
collectExtensions, equals, getExtensions, getName, hashCode, isLegacy, setExtensions
public MavenWorkspaceRuntime(String name)
protected ArtifactKey getDistributionArtifactKey()
protected String getMainClass()
public String getLocation()
getLocation
in interface MavenRuntime
getLocation
in class AbstractMavenRuntime
public String getSettings()
public boolean isEditable()
isEditable
in interface MavenRuntime
isEditable
in class AbstractMavenRuntime
public boolean isAvailable()
isAvailable
in interface MavenRuntime
isAvailable
in class AbstractMavenRuntime
protected IMavenProjectFacade getMavenDistribution()
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
protected void addArtifact(IMavenLauncherConfiguration collector, org.apache.maven.artifact.Artifact artifact) throws org.eclipse.core.runtime.CoreException
org.eclipse.core.runtime.CoreException
public String getVersion()
getVersion
in interface MavenRuntime
getVersion
in class AbstractMavenRuntime
Copyright © 2005–2015 Sonatype, Inc.. All rights reserved.