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<org.sonatype.aether.repository.RemoteRepository> repositories, org.sonatype.aether.RepositorySystemSession session)
           
 ClassRealm getPluginRealm(MavenSession session, PluginDescriptor pluginDescriptor)
           
 PluginDescriptor loadPlugin(Plugin plugin, List<org.sonatype.aether.repository.RemoteRepository> repositories, org.sonatype.aether.RepositorySystemSession session)
           
 

Method Detail

loadPlugin

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

getMojoDescriptor

MojoDescriptor getMojoDescriptor(Plugin plugin,
                                 String goal,
                                 List<org.sonatype.aether.repository.RemoteRepository> repositories,
                                 org.sonatype.aether.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-2010 The Apache Software Foundation. All Rights Reserved.