org.codehaus.groovy.maven.plugin
Class ProviderMojoSupport

java.lang.Object
  extended by org.apache.maven.plugin.AbstractMojo
      extended by org.codehaus.groovy.maven.plugin.MojoSupport
          extended by org.codehaus.groovy.maven.plugin.ProviderMojoSupport
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo, org.codehaus.plexus.personality.plexus.lifecycle.phase.Contextualizable
Direct Known Subclasses:
ComponentMojoSupport, ProvidersMojo

public abstract class ProviderMojoSupport
extends MojoSupport
implements org.codehaus.plexus.personality.plexus.lifecycle.phase.Contextualizable

Provides support for Mojo implementations which need to have access to a Provider instances.

Version:
$Id: ProviderMojoSupport.java 13181 2008-08-10 14:05:55Z user57 $
Author:
Jason Dillon

Field Summary
protected  java.util.Map pluginArtifactMap
           
 
Fields inherited from class org.codehaus.groovy.maven.plugin.MojoSupport
artifactFactory, artifactMetadataSource, artifactRepository, artifactResolver, log, project, remoteRepositories
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
ProviderMojoSupport()
           
 
Method Summary
 void contextualize(org.codehaus.plexus.context.Context context)
           
protected  ProviderManager getProviderManager()
           
protected  java.lang.String getProviderSelection()
           
protected  Provider provider()
           
 
Methods inherited from class org.codehaus.groovy.maven.plugin.MojoSupport
createArtifact, createClassPath, doExecute, execute, getArtifact, getProjectClasspathElements, getUserClassspathElements, resolveArtifact
 
Methods inherited from class org.apache.maven.plugin.AbstractMojo
getLog, getPluginContext, setLog, setPluginContext
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

pluginArtifactMap

protected java.util.Map pluginArtifactMap
Constructor Detail

ProviderMojoSupport

public ProviderMojoSupport()
Method Detail

contextualize

public void contextualize(org.codehaus.plexus.context.Context context)
                   throws org.codehaus.plexus.context.ContextException
Specified by:
contextualize in interface org.codehaus.plexus.personality.plexus.lifecycle.phase.Contextualizable
Throws:
org.codehaus.plexus.context.ContextException

getProviderManager

protected ProviderManager getProviderManager()

getProviderSelection

protected java.lang.String getProviderSelection()

provider

protected Provider provider()
                     throws java.lang.Exception
Throws:
java.lang.Exception


Copyright © 2006-2008 Codehaus. All Rights Reserved.