org.apache.maven.script.ant
Class AntMojoWrapper
java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.apache.maven.script.ant.AntMojoWrapper
- All Implemented Interfaces:
- org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo, org.codehaus.plexus.component.MapOrientedComponent, org.codehaus.plexus.logging.LogEnabled
public class AntMojoWrapper
- extends org.apache.maven.plugin.AbstractMojo
- implements org.apache.maven.plugin.ContextEnabled, org.codehaus.plexus.component.MapOrientedComponent, org.codehaus.plexus.logging.LogEnabled
Fields inherited from interface org.apache.maven.plugin.Mojo |
ROLE |
Constructor Summary |
AntMojoWrapper(org.codehaus.plexus.component.factory.ant.AntScriptInvoker scriptInvoker)
|
Methods inherited from class org.apache.maven.plugin.AbstractMojo |
getLog, setLog |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AntMojoWrapper
public AntMojoWrapper(org.codehaus.plexus.component.factory.ant.AntScriptInvoker scriptInvoker)
execute
public void execute()
throws org.apache.maven.plugin.MojoExecutionException
- Specified by:
execute
in interface org.apache.maven.plugin.Mojo
- Throws:
org.apache.maven.plugin.MojoExecutionException
setPluginContext
public void setPluginContext(Map pluginContext)
- Specified by:
setPluginContext
in interface org.apache.maven.plugin.ContextEnabled
- Overrides:
setPluginContext
in class org.apache.maven.plugin.AbstractMojo
getPluginContext
public Map getPluginContext()
- Specified by:
getPluginContext
in interface org.apache.maven.plugin.ContextEnabled
- Overrides:
getPluginContext
in class org.apache.maven.plugin.AbstractMojo
addComponentRequirement
public void addComponentRequirement(org.codehaus.plexus.component.repository.ComponentRequirement requirementDescriptor,
Object requirementValue)
throws org.codehaus.plexus.component.configurator.ComponentConfigurationException
- Specified by:
addComponentRequirement
in interface org.codehaus.plexus.component.MapOrientedComponent
- Throws:
org.codehaus.plexus.component.configurator.ComponentConfigurationException
setComponentConfiguration
public void setComponentConfiguration(Map componentConfiguration)
throws org.codehaus.plexus.component.configurator.ComponentConfigurationException
- Specified by:
setComponentConfiguration
in interface org.codehaus.plexus.component.MapOrientedComponent
- Throws:
org.codehaus.plexus.component.configurator.ComponentConfigurationException
getPathFromArtifacts
public org.apache.tools.ant.types.Path getPathFromArtifacts(Collection<org.apache.maven.artifact.Artifact> artifacts,
org.apache.tools.ant.Project antProject)
throws DependencyResolutionRequiredException
- Throws:
DependencyResolutionRequiredException
getAntProject
public org.apache.tools.ant.Project getAntProject()
setAntProject
public void setAntProject(org.apache.tools.ant.Project antProject)
getMavenProject
public org.apache.maven.project.MavenProject getMavenProject()
setMavenProject
public void setMavenProject(org.apache.maven.project.MavenProject mavenProject)
getMojoExecution
public org.apache.maven.plugin.MojoExecution getMojoExecution()
setMojoExecution
public void setMojoExecution(org.apache.maven.plugin.MojoExecution mojoExecution)
getSession
public org.apache.maven.execution.MavenSession getSession()
setSession
public void setSession(org.apache.maven.execution.MavenSession session)
getPathTranslator
public org.apache.maven.project.path.PathTranslator getPathTranslator()
setPathTranslator
public void setPathTranslator(org.apache.maven.project.path.PathTranslator pathTranslator)
getScriptInvoker
public org.codehaus.plexus.component.factory.ant.AntScriptInvoker getScriptInvoker()
enableLogging
public void enableLogging(org.codehaus.plexus.logging.Logger logger)
- Specified by:
enableLogging
in interface org.codehaus.plexus.logging.LogEnabled
Copyright © 2004-2012 The Apache Software Foundation. All Rights Reserved.