org.apache.maven.plugin.loader
Interface PluginLoader

All Known Implementing Classes:
DefaultPluginLoader

public interface PluginLoader

Responsible for loading plugins, reports, and any components contained therein. Will resolve plugin versions and plugin prefixes as necessary for plugin resolution.

Author:
jdcasey

Method Summary
 PluginDescriptor loadPlugin(MojoBinding mojoBinding, MavenProject project, MavenSession session)
          Load the PluginDescriptor instance for the plugin implied by the specified MojoBinding, using the project for ArtifactRepository and other supplemental plugin information as necessary.
 PluginDescriptor loadPlugin(Plugin plugin, MavenProject project, MavenSession session)
          Load the PluginDescriptor instance for the specified plugin, using the project for the ArtifactRepository and other supplemental plugin information as necessary.
 PluginDescriptor loadReportPlugin(MojoBinding mojoBinding, MavenProject project, MavenSession session)
          Load the PluginDescriptor instance for the report plugin implied by the specified MojoBinding, using the project for ArtifactRepository and other supplemental report/plugin information as necessary.
 PluginDescriptor loadReportPlugin(ReportPlugin reportPlugin, MavenProject project, MavenSession session)
          Load the PluginDescriptor instance for the specified report plugin, using the project for the ArtifactRepository and other supplemental report/plugin information as necessary.
 

Method Detail

loadPlugin

PluginDescriptor loadPlugin(Plugin plugin,
                            MavenProject project,
                            MavenSession session)
                            throws PluginLoaderException
Load the PluginDescriptor instance for the specified plugin, using the project for the ArtifactRepository and other supplemental plugin information as necessary.

Throws:
PluginLoaderException

loadPlugin

PluginDescriptor loadPlugin(MojoBinding mojoBinding,
                            MavenProject project,
                            MavenSession session)
                            throws PluginLoaderException
Load the PluginDescriptor instance for the plugin implied by the specified MojoBinding, using the project for ArtifactRepository and other supplemental plugin information as necessary.

Throws:
PluginLoaderException

loadReportPlugin

PluginDescriptor loadReportPlugin(ReportPlugin reportPlugin,
                                  MavenProject project,
                                  MavenSession session)
                                  throws PluginLoaderException
Load the PluginDescriptor instance for the specified report plugin, using the project for the ArtifactRepository and other supplemental report/plugin information as necessary.

Throws:
PluginLoaderException

loadReportPlugin

PluginDescriptor loadReportPlugin(MojoBinding mojoBinding,
                                  MavenProject project,
                                  MavenSession session)
                                  throws PluginLoaderException
Load the PluginDescriptor instance for the report plugin implied by the specified MojoBinding, using the project for ArtifactRepository and other supplemental report/plugin information as necessary.

Throws:
PluginLoaderException


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