mirror of https://github.com/apache/maven.git
o prefer methods that only use the session
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@512548 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
fbb0ad4780
commit
6dedba51d9
|
@ -42,38 +42,45 @@ public interface PluginManager
|
||||||
{
|
{
|
||||||
String ROLE = PluginManager.class.getName();
|
String ROLE = PluginManager.class.getName();
|
||||||
|
|
||||||
void executeMojo( MavenProject project, MojoExecution execution, MavenSession session )
|
void executeMojo( MavenProject project,
|
||||||
|
MojoExecution execution,
|
||||||
|
MavenSession session )
|
||||||
throws MojoExecutionException, ArtifactResolutionException, MojoFailureException, ArtifactNotFoundException,
|
throws MojoExecutionException, ArtifactResolutionException, MojoFailureException, ArtifactNotFoundException,
|
||||||
InvalidDependencyVersionException, PluginManagerException, PluginConfigurationException;
|
InvalidDependencyVersionException, PluginManagerException, PluginConfigurationException;
|
||||||
|
|
||||||
MavenReport getReport( MavenProject project, MojoExecution mojoExecution, MavenSession session )
|
MavenReport getReport( MavenProject project,
|
||||||
|
MojoExecution mojoExecution,
|
||||||
|
MavenSession session )
|
||||||
throws ArtifactNotFoundException, PluginConfigurationException, PluginManagerException,
|
throws ArtifactNotFoundException, PluginConfigurationException, PluginManagerException,
|
||||||
ArtifactResolutionException;
|
ArtifactResolutionException;
|
||||||
|
|
||||||
PluginDescriptor getPluginDescriptorForPrefix( String prefix );
|
PluginDescriptor getPluginDescriptorForPrefix( String prefix );
|
||||||
|
|
||||||
Plugin getPluginDefinitionForPrefix( String prefix, MavenSession session, MavenProject project );
|
Plugin getPluginDefinitionForPrefix( String prefix,
|
||||||
|
MavenSession session,
|
||||||
|
MavenProject project );
|
||||||
|
|
||||||
PluginDescriptor verifyPlugin( Plugin plugin, MavenProject project, Settings settings,
|
PluginDescriptor verifyPlugin( Plugin plugin,
|
||||||
ArtifactRepository localRepository )
|
MavenProject project,
|
||||||
throws ArtifactResolutionException, PluginVersionResolutionException, ArtifactNotFoundException,
|
MavenSession session )
|
||||||
InvalidVersionSpecificationException, InvalidPluginException, PluginManagerException, PluginNotFoundException,
|
|
||||||
PluginVersionNotFoundException;
|
|
||||||
|
|
||||||
PluginDescriptor verifyPlugin( Plugin plugin, MavenProject project, MavenSession session )
|
|
||||||
throws ArtifactResolutionException, PluginVersionResolutionException, ArtifactNotFoundException,
|
throws ArtifactResolutionException, PluginVersionResolutionException, ArtifactNotFoundException,
|
||||||
InvalidVersionSpecificationException, InvalidPluginException, PluginManagerException, PluginNotFoundException,
|
InvalidVersionSpecificationException, InvalidPluginException, PluginManagerException, PluginNotFoundException,
|
||||||
PluginVersionNotFoundException;
|
PluginVersionNotFoundException;
|
||||||
|
|
||||||
PluginDescriptor verifyReportPlugin( ReportPlugin reportPlugin, MavenProject project, MavenSession session )
|
PluginDescriptor verifyReportPlugin( ReportPlugin reportPlugin,
|
||||||
|
MavenProject project,
|
||||||
|
MavenSession session )
|
||||||
throws PluginVersionResolutionException, ArtifactResolutionException, ArtifactNotFoundException,
|
throws PluginVersionResolutionException, ArtifactResolutionException, ArtifactNotFoundException,
|
||||||
InvalidVersionSpecificationException, InvalidPluginException, PluginManagerException, PluginNotFoundException,
|
InvalidVersionSpecificationException, InvalidPluginException, PluginManagerException, PluginNotFoundException,
|
||||||
PluginVersionNotFoundException;
|
PluginVersionNotFoundException;
|
||||||
|
|
||||||
Object getPluginComponent( Plugin plugin, String role, String roleHint )
|
Object getPluginComponent( Plugin plugin,
|
||||||
|
String role,
|
||||||
|
String roleHint )
|
||||||
throws PluginManagerException, ComponentLookupException;
|
throws PluginManagerException, ComponentLookupException;
|
||||||
|
|
||||||
Map getPluginComponents( Plugin plugin, String role )
|
Map getPluginComponents( Plugin plugin,
|
||||||
|
String role )
|
||||||
throws ComponentLookupException, PluginManagerException;
|
throws ComponentLookupException, PluginManagerException;
|
||||||
|
|
||||||
}
|
}
|
Loading…
Reference in New Issue