public class MavenPluginActivator
extends org.eclipse.core.runtime.Plugin
Modifier and Type | Field and Description |
---|---|
static String |
PREFS_ARCHETYPES |
Constructor and Description |
---|
MavenPluginActivator() |
Modifier and Type | Method and Description |
---|---|
org.apache.maven.archetype.ArchetypeManager |
getArchetype()
Deprecated.
|
org.apache.maven.archetype.common.ArchetypeArtifactManager |
getArchetypeArtifactManager()
Deprecated.
|
org.apache.maven.archetype.source.ArchetypeDataSource |
getArchetypeDataSource(String hint)
Deprecated.
|
ArchetypeManager |
getArchetypeManager() |
ArtifactFilterManager |
getArifactFilterManager() |
org.apache.maven.artifact.resolver.ArtifactCollector |
getArtifactCollector() |
org.apache.maven.index.ArtifactContextProducer |
getArtifactContextProducer()
Deprecated.
|
org.apache.maven.artifact.factory.ArtifactFactory |
getArtifactFactory() |
org.apache.maven.artifact.metadata.ArtifactMetadataSource |
getArtifactMetadataSource() |
org.osgi.framework.BundleContext |
getBundleContext() |
static MavenPluginActivator |
getDefault()
Returns the shared instance.
|
NexusIndexManager |
getIndexManager() |
org.apache.maven.index.updater.IndexUpdater |
getIndexUpdater()
Deprecated.
|
MavenImpl |
getMaven() |
IMavenConfiguration |
getMavenConfiguration() |
IMavenMarkerManager |
getMavenMarkerManager() |
MavenModelManager |
getMavenModelManager() |
MavenProjectManager |
getMavenProjectManager() |
ProjectRegistryManager |
getMavenProjectManagerImpl() |
MavenRuntimeManagerImpl |
getMavenRuntimeManager() |
org.apache.maven.index.NexusIndexer |
getNexusIndexer()
Deprecated.
|
org.codehaus.plexus.PlexusContainer |
getPlexusContainer()
Deprecated.
provided for backwards compatibility only. all component lookup must go though relevant subsystem --
MavenImpl , NexusIndexManager or ArchetypeManager . |
IProjectConfigurationManager |
getProjectConfigurationManager() |
IProjectConversionManager |
getProjectConversionManager() |
ProjectRegistryRefreshJob |
getProjectManagerRefreshJob()
for use by unit tests
|
static String |
getQualifiedVersion() |
IRepositoryRegistry |
getRepositoryRegistry() |
org.eclipse.aether.RepositorySystem |
getRepositorySystem() |
static String |
getUserAgent() |
static String |
getVersion() |
org.apache.maven.artifact.manager.WagonManager |
getWagonManager() |
org.apache.maven.execution.MavenSession |
setSession(org.apache.maven.execution.MavenSession session)
Deprecated.
use
IMavenExecutionContext instead. |
void |
start(org.osgi.framework.BundleContext context)
This method is called upon plug-in activation
|
void |
stop(org.osgi.framework.BundleContext context)
This method is called when the plug-in is stopped
|
find, find, getBundle, getDescriptor, getLog, getPluginPreferences, getStateLocation, initializeDefaultPluginPreferences, internalInitializeDefaultPluginPreferences, isDebugging, openStream, openStream, savePluginPreferences, setDebugging, shutdown, startup, toString
public static final String PREFS_ARCHETYPES
public MavenImpl getMaven()
public void start(org.osgi.framework.BundleContext context) throws Exception
start
in interface org.osgi.framework.BundleActivator
start
in class org.eclipse.core.runtime.Plugin
Exception
public org.codehaus.plexus.PlexusContainer getPlexusContainer()
MavenImpl
, NexusIndexManager
or ArchetypeManager
.public void stop(org.osgi.framework.BundleContext context) throws Exception
stop
in interface org.osgi.framework.BundleActivator
stop
in class org.eclipse.core.runtime.Plugin
Exception
public static MavenPluginActivator getDefault()
public MavenModelManager getMavenModelManager()
public MavenProjectManager getMavenProjectManager()
public ProjectRegistryManager getMavenProjectManagerImpl()
public NexusIndexManager getIndexManager()
public MavenRuntimeManagerImpl getMavenRuntimeManager()
public ArchetypeManager getArchetypeManager()
public IMavenMarkerManager getMavenMarkerManager()
public IMavenConfiguration getMavenConfiguration()
public org.osgi.framework.BundleContext getBundleContext()
public IProjectConfigurationManager getProjectConfigurationManager()
public ProjectRegistryRefreshJob getProjectManagerRefreshJob()
public static String getVersion()
public static String getQualifiedVersion()
public static String getUserAgent()
public IRepositoryRegistry getRepositoryRegistry()
public org.apache.maven.archetype.ArchetypeManager getArchetype()
ArchetypeManager.getArchetyper()
public org.apache.maven.archetype.source.ArchetypeDataSource getArchetypeDataSource(String hint)
ArchetypeManager.getArchetypeDataSource(String)
public org.apache.maven.archetype.common.ArchetypeArtifactManager getArchetypeArtifactManager()
ArchetypeManager.getArchetypeArtifactManager()
public org.apache.maven.index.updater.IndexUpdater getIndexUpdater()
NexusIndexManager.getIndexUpdate()
public org.apache.maven.artifact.manager.WagonManager getWagonManager()
public org.apache.maven.index.NexusIndexer getNexusIndexer()
NexusIndexManager.getIndexer()
public org.apache.maven.index.ArtifactContextProducer getArtifactContextProducer()
NexusIndexManager.getArtifactContextProducer()
public org.apache.maven.artifact.factory.ArtifactFactory getArtifactFactory()
public org.apache.maven.artifact.metadata.ArtifactMetadataSource getArtifactMetadataSource()
public org.apache.maven.artifact.resolver.ArtifactCollector getArtifactCollector()
public org.eclipse.aether.RepositorySystem getRepositorySystem()
public org.apache.maven.execution.MavenSession setSession(org.apache.maven.execution.MavenSession session)
IMavenExecutionContext
instead.public ArtifactFilterManager getArifactFilterManager()
public IProjectConversionManager getProjectConversionManager()
Copyright © 2005–2015 Sonatype, Inc.. All rights reserved.