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

Method Detail

loadPlugin

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

getMojoDescriptor

MojoDescriptor getMojoDescriptor(Plugin plugin,
                                 String goal,
                                 List<org.eclipse.aether.repository.RemoteRepository> repositories,
                                 org.eclipse.aether.RepositorySystemSession session)
                                 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–2013 The Apache Software Foundation. All rights reserved.