public class MavenEmbeddedRuntime extends AbstractMavenRuntime
| Modifier and Type | Field and Description |
|---|---|
private static java.lang.String[] |
CLASSPATH |
private static java.lang.String[] |
LAUNCHER_CLASSPATH |
private static org.slf4j.Logger |
log |
private static org.osgi.framework.Bundle |
m2eCore |
private static java.lang.String |
MAVEN_CORE_POM_PROPERTIES |
private static java.lang.String |
MAVEN_EMBEDDER_BUNDLE_SYMBOLICNAME |
private static java.lang.String |
MAVEN_EXECUTOR_CLASS |
private static java.lang.String |
mavenVersion |
static java.lang.String |
PLEXUS_CLASSWORLD_NAME |
| Constructor and Description |
|---|
MavenEmbeddedRuntime() |
| Modifier and Type | Method and Description |
|---|---|
private void |
addBundleClasspathEntries(java.util.Set<java.lang.String> entries,
org.osgi.framework.Bundle bundle) |
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 org.osgi.framework.Bundle |
findMavenEmbedderBundle() |
java.lang.String |
getLocation() |
java.lang.String |
getVersion() |
private java.lang.String |
getVersion(org.osgi.framework.Bundle bundle) |
private void |
initClasspath(org.osgi.framework.Bundle mavenRuntimeBundle) |
boolean |
isAvailable() |
boolean |
isEditable() |
java.lang.String |
toString() |
collectExtensions, equals, getExtensions, getName, getSettings, hashCode, isLegacy, isSupportedVersion, setExtensionsprivate static final java.lang.String MAVEN_CORE_POM_PROPERTIES
private static final org.slf4j.Logger log
private static final java.lang.String MAVEN_EMBEDDER_BUNDLE_SYMBOLICNAME
private static final java.lang.String MAVEN_EXECUTOR_CLASS
public static final java.lang.String PLEXUS_CLASSWORLD_NAME
private static java.lang.String[] LAUNCHER_CLASSPATH
private static java.lang.String[] CLASSPATH
private static volatile java.lang.String mavenVersion
private static final org.osgi.framework.Bundle m2eCore
public boolean isEditable()
isEditable in interface MavenRuntimeisEditable in class AbstractMavenRuntimepublic java.lang.String getLocation()
getLocation in interface MavenRuntimegetLocation in class AbstractMavenRuntimepublic boolean isAvailable()
isAvailable in interface MavenRuntimeisAvailable in class AbstractMavenRuntimepublic 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.CoreExceptionprivate void initClasspath(org.osgi.framework.Bundle mavenRuntimeBundle)
private void addBundleClasspathEntries(java.util.Set<java.lang.String> entries,
org.osgi.framework.Bundle bundle)
private org.osgi.framework.Bundle findMavenEmbedderBundle()
public java.lang.String toString()
toString in class java.lang.Objectprivate java.lang.String getVersion(org.osgi.framework.Bundle bundle)
public java.lang.String getVersion()
getVersion in interface MavenRuntimegetVersion in class AbstractMavenRuntime