org.apache.maven.plugin
Interface BuildPluginManager

All Known Implementing Classes:
DefaultBuildPluginManager

public interface BuildPluginManager

Author:
Jason van Zyl

Method Summary
 void executeMojo(MavenSession session, MojoExecution execution)
           
 MojoDescriptor getMojoDescriptor(Plugin plugin, java.lang.String goal, RepositoryRequest repositoryRequest)
           
 org.codehaus.plexus.classworlds.realm.ClassRealm getPluginRealm(MavenSession session, PluginDescriptor pluginDescriptor)
           
 PluginDescriptor loadPlugin(Plugin plugin, RepositoryRequest repositoryRequest)
           
 

Method Detail

loadPlugin

PluginDescriptor loadPlugin(Plugin plugin,
                            RepositoryRequest repositoryRequest)
                            throws PluginNotFoundException,
                                   PluginResolutionException,
                                   PluginDescriptorParsingException,
                                   InvalidPluginDescriptorException
Throws:
PluginNotFoundException
PluginResolutionException
PluginDescriptorParsingException
InvalidPluginDescriptorException

getMojoDescriptor

MojoDescriptor getMojoDescriptor(Plugin plugin,
                                 java.lang.String goal,
                                 RepositoryRequest repositoryRequest)
                                 throws PluginNotFoundException,
                                        PluginResolutionException,
                                        PluginDescriptorParsingException,
                                        MojoNotFoundException,
                                        InvalidPluginDescriptorException
Throws:
PluginNotFoundException
PluginResolutionException
PluginDescriptorParsingException
MojoNotFoundException
InvalidPluginDescriptorException

getPluginRealm

org.codehaus.plexus.classworlds.realm.ClassRealm getPluginRealm(MavenSession session,
                                                                PluginDescriptor pluginDescriptor)
                                                                throws PluginResolutionException,
                                                                       PluginManagerException
Throws:
PluginResolutionException
PluginManagerException

executeMojo

void executeMojo(MavenSession session,
                 MojoExecution execution)
                 throws MojoFailureException,
                        MojoExecutionException,
                        PluginConfigurationException,
                        PluginManagerException
Throws:
MojoFailureException
MojoExecutionException
PluginConfigurationException
PluginManagerException


Copyright © 2001-2010 The Apache Software Foundation. All Rights Reserved.