Package org.apache.maven.plugin.internal
Class DefaultPluginManager
java.lang.Object
org.apache.maven.plugin.internal.DefaultPluginManager
- All Implemented Interfaces:
PluginManager
@Named
@Singleton
@Deprecated
public class DefaultPluginManager
extends Object
implements PluginManager
Deprecated.
-
Field Summary
Fields inherited from interface org.apache.maven.plugin.PluginManager
ROLE
-
Constructor Summary
ConstructorDescriptionDefaultPluginManager
(org.codehaus.plexus.PlexusContainer container, MavenPluginManager pluginManager, PluginVersionResolver pluginVersionResolver, PluginPrefixResolver pluginPrefixResolver, LegacySupport legacySupport) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionvoid
executeMojo
(MavenProject project, MojoExecution execution, MavenSession session) Deprecated.getPluginComponent
(Plugin plugin, String role, String roleHint) Deprecated.getPluginComponents
(Plugin plugin, String role) Deprecated.getPluginDefinitionForPrefix
(String prefix, MavenSession session, MavenProject project) Deprecated.getPluginDescriptorForPrefix
(String prefix) Deprecated.loadPluginDescriptor
(Plugin plugin, MavenProject project, MavenSession session) Deprecated.loadPluginFully
(Plugin plugin, MavenProject project, MavenSession session) Deprecated.verifyPlugin
(Plugin plugin, MavenProject project, Settings settings, ArtifactRepository localRepository) Deprecated.
-
Constructor Details
-
DefaultPluginManager
@Inject public DefaultPluginManager(org.codehaus.plexus.PlexusContainer container, MavenPluginManager pluginManager, PluginVersionResolver pluginVersionResolver, PluginPrefixResolver pluginPrefixResolver, LegacySupport legacySupport) Deprecated.
-
-
Method Details
-
executeMojo
public void executeMojo(MavenProject project, MojoExecution execution, MavenSession session) throws MojoExecutionException, ArtifactResolutionException, MojoFailureException, ArtifactNotFoundException, InvalidDependencyVersionException, PluginManagerException, PluginConfigurationException Deprecated. -
getPluginComponent
public Object getPluginComponent(Plugin plugin, String role, String roleHint) throws PluginManagerException, org.codehaus.plexus.component.repository.exception.ComponentLookupException Deprecated.- Specified by:
getPluginComponent
in interfacePluginManager
- Throws:
PluginManagerException
org.codehaus.plexus.component.repository.exception.ComponentLookupException
-
getPluginComponents
public Map<String,Object> getPluginComponents(Plugin plugin, String role) throws org.codehaus.plexus.component.repository.exception.ComponentLookupException, PluginManagerException Deprecated.- Specified by:
getPluginComponents
in interfacePluginManager
- Throws:
org.codehaus.plexus.component.repository.exception.ComponentLookupException
PluginManagerException
-
getPluginDefinitionForPrefix
public Plugin getPluginDefinitionForPrefix(String prefix, MavenSession session, MavenProject project) Deprecated.- Specified by:
getPluginDefinitionForPrefix
in interfacePluginManager
-
getPluginDescriptorForPrefix
Deprecated.- Specified by:
getPluginDescriptorForPrefix
in interfacePluginManager
-
loadPluginDescriptor
public PluginDescriptor loadPluginDescriptor(Plugin plugin, MavenProject project, MavenSession session) throws ArtifactResolutionException, PluginVersionResolutionException, ArtifactNotFoundException, InvalidVersionSpecificationException, InvalidPluginException, PluginManagerException, PluginNotFoundException, PluginVersionNotFoundException Deprecated. -
loadPluginFully
public PluginDescriptor loadPluginFully(Plugin plugin, MavenProject project, MavenSession session) throws ArtifactResolutionException, PluginVersionResolutionException, ArtifactNotFoundException, InvalidVersionSpecificationException, InvalidPluginException, PluginManagerException, PluginNotFoundException, PluginVersionNotFoundException Deprecated. -
verifyPlugin
public PluginDescriptor verifyPlugin(Plugin plugin, MavenProject project, Settings settings, ArtifactRepository localRepository) throws ArtifactResolutionException, PluginVersionResolutionException, ArtifactNotFoundException, InvalidVersionSpecificationException, InvalidPluginException, PluginManagerException, PluginNotFoundException, PluginVersionNotFoundException Deprecated.
-