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, String goal, List<RemoteRepository> repositories, RepositorySystemSession session)
           
 ClassRealm getPluginRealm(MavenSession session, PluginDescriptor pluginDescriptor)
           
 PluginDescriptor loadPlugin(Plugin plugin, List<RemoteRepository> repositories, RepositorySystemSession session)
           
 

Method Detail

loadPlugin

PluginDescriptor loadPlugin(Plugin plugin,
                            List<RemoteRepository> repositories,
                            RepositorySystemSession session)
                            throws PluginNotFoundException,
                                   PluginResolutionException,
                                   PluginDescriptorParsingException,
                                   InvalidPluginDescriptorException
Throws:
PluginNotFoundException
PluginResolutionException
PluginDescriptorParsingException
InvalidPluginDescriptorException

getMojoDescriptor

MojoDescriptor getMojoDescriptor(Plugin plugin,
                                 String goal,
                                 List<RemoteRepository> repositories,
                                 RepositorySystemSession session)
                                 throws PluginNotFoundException,
                                        PluginResolutionException,
                                        PluginDescriptorParsingException,
                                        MojoNotFoundException,
                                        InvalidPluginDescriptorException
Throws:
PluginNotFoundException
PluginResolutionException
PluginDescriptorParsingException
MojoNotFoundException
InvalidPluginDescriptorException

getPluginRealm

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-2012 The Apache Software Foundation. All Rights Reserved.