org.apache.maven.plugin
Interface PluginManager
- All Known Implementing Classes:
- DefaultPluginManager
public interface PluginManager
- Version:
- $Id: PluginManager.java 799758 2009-07-31 22:19:38Z jdcasey $
- Author:
- Jason van Zyl
Method Summary |
void |
executeMojo(MavenProject project,
MojoExecution execution,
MavenSession session)
|
Object |
getPluginComponent(Plugin plugin,
String role,
String roleHint)
|
Map |
getPluginComponents(Plugin plugin,
String role)
|
Plugin |
getPluginDefinitionForPrefix(String prefix,
MavenSession session,
MavenProject project)
|
PluginDescriptor |
getPluginDescriptorForPrefix(String prefix)
|
MavenReport |
getReport(MavenProject project,
MojoExecution mojoExecution,
MavenSession session)
|
PluginDescriptor |
loadPluginDescriptor(Plugin plugin,
MavenProject project,
MavenSession session)
|
PluginDescriptor |
loadPluginFully(Plugin plugin,
MavenProject project,
MavenSession session)
|
PluginDescriptor |
verifyPlugin(Plugin plugin,
MavenProject project,
Settings settings,
ArtifactRepository localRepository)
Deprecated. Use loadPluginDescriptor(Plugin, MavenProject, MavenSession) instead. |
PluginDescriptor |
verifyReportPlugin(ReportPlugin reportPlugin,
MavenProject project,
MavenSession session)
|
ROLE
static final String ROLE
executeMojo
void executeMojo(MavenProject project,
MojoExecution execution,
MavenSession session)
throws MojoExecutionException,
ArtifactResolutionException,
MojoFailureException,
ArtifactNotFoundException,
InvalidDependencyVersionException,
PluginManagerException,
PluginConfigurationException
- Throws:
MojoExecutionException
ArtifactResolutionException
MojoFailureException
ArtifactNotFoundException
InvalidDependencyVersionException
PluginManagerException
PluginConfigurationException
getReport
MavenReport getReport(MavenProject project,
MojoExecution mojoExecution,
MavenSession session)
throws ArtifactNotFoundException,
PluginConfigurationException,
PluginManagerException,
ArtifactResolutionException
- Throws:
ArtifactNotFoundException
PluginConfigurationException
PluginManagerException
ArtifactResolutionException
getPluginDescriptorForPrefix
PluginDescriptor getPluginDescriptorForPrefix(String prefix)
getPluginDefinitionForPrefix
Plugin getPluginDefinitionForPrefix(String prefix,
MavenSession session,
MavenProject project)
verifyPlugin
PluginDescriptor verifyPlugin(Plugin plugin,
MavenProject project,
Settings settings,
ArtifactRepository localRepository)
throws ArtifactResolutionException,
PluginVersionResolutionException,
ArtifactNotFoundException,
InvalidVersionSpecificationException,
InvalidPluginException,
PluginManagerException,
PluginNotFoundException,
PluginVersionNotFoundException
- Deprecated. Use
loadPluginDescriptor(Plugin, MavenProject, MavenSession)
instead.
- Throws:
ArtifactResolutionException
PluginVersionResolutionException
ArtifactNotFoundException
InvalidVersionSpecificationException
InvalidPluginException
PluginManagerException
PluginNotFoundException
PluginVersionNotFoundException
verifyReportPlugin
PluginDescriptor verifyReportPlugin(ReportPlugin reportPlugin,
MavenProject project,
MavenSession session)
throws PluginVersionResolutionException,
ArtifactResolutionException,
ArtifactNotFoundException,
InvalidVersionSpecificationException,
InvalidPluginException,
PluginManagerException,
PluginNotFoundException,
PluginVersionNotFoundException
- Throws:
PluginVersionResolutionException
ArtifactResolutionException
ArtifactNotFoundException
InvalidVersionSpecificationException
InvalidPluginException
PluginManagerException
PluginNotFoundException
PluginVersionNotFoundException
getPluginComponent
Object getPluginComponent(Plugin plugin,
String role,
String roleHint)
throws PluginManagerException,
org.codehaus.plexus.component.repository.exception.ComponentLookupException
- Throws:
PluginManagerException
org.codehaus.plexus.component.repository.exception.ComponentLookupException
getPluginComponents
Map getPluginComponents(Plugin plugin,
String role)
throws org.codehaus.plexus.component.repository.exception.ComponentLookupException,
PluginManagerException
- Throws:
org.codehaus.plexus.component.repository.exception.ComponentLookupException
PluginManagerException
loadPluginDescriptor
PluginDescriptor loadPluginDescriptor(Plugin plugin,
MavenProject project,
MavenSession session)
throws ArtifactResolutionException,
PluginVersionResolutionException,
ArtifactNotFoundException,
InvalidVersionSpecificationException,
InvalidPluginException,
PluginManagerException,
PluginNotFoundException,
PluginVersionNotFoundException
- Throws:
ArtifactResolutionException
PluginVersionResolutionException
ArtifactNotFoundException
InvalidVersionSpecificationException
InvalidPluginException
PluginManagerException
PluginNotFoundException
PluginVersionNotFoundException
- Since:
- 2.2.1
loadPluginFully
PluginDescriptor loadPluginFully(Plugin plugin,
MavenProject project,
MavenSession session)
throws ArtifactResolutionException,
PluginVersionResolutionException,
ArtifactNotFoundException,
InvalidVersionSpecificationException,
InvalidPluginException,
PluginManagerException,
PluginNotFoundException,
PluginVersionNotFoundException
- Throws:
ArtifactResolutionException
PluginVersionResolutionException
ArtifactNotFoundException
InvalidVersionSpecificationException
InvalidPluginException
PluginManagerException
PluginNotFoundException
PluginVersionNotFoundException
- Since:
- 2.2.1
Copyright © 2001-2009 The Apache Software Foundation. All Rights Reserved.