public class AntMojoWrapper extends AbstractMojo implements ContextEnabled, org.codehaus.plexus.component.MapOrientedComponent, org.codehaus.plexus.logging.LogEnabled
Constructor and Description |
---|
AntMojoWrapper(org.codehaus.plexus.component.factory.ant.AntScriptInvoker scriptInvoker) |
Modifier and Type | Method and Description |
---|---|
void |
addComponentRequirement(org.codehaus.plexus.component.repository.ComponentRequirement requirementDescriptor,
Object requirementValue) |
void |
enableLogging(org.codehaus.plexus.logging.Logger logger) |
void |
execute() |
org.apache.tools.ant.Project |
getAntProject() |
MavenProject |
getMavenProject() |
MojoExecution |
getMojoExecution() |
org.apache.tools.ant.types.Path |
getPathFromArtifacts(Collection<Artifact> artifacts,
org.apache.tools.ant.Project antProject) |
PathTranslator |
getPathTranslator() |
Map |
getPluginContext() |
org.codehaus.plexus.component.factory.ant.AntScriptInvoker |
getScriptInvoker() |
MavenSession |
getSession() |
void |
setAntProject(org.apache.tools.ant.Project antProject) |
void |
setComponentConfiguration(Map componentConfiguration) |
void |
setMavenProject(MavenProject mavenProject) |
void |
setMojoExecution(MojoExecution mojoExecution) |
void |
setPathTranslator(PathTranslator pathTranslator) |
void |
setPluginContext(Map pluginContext) |
void |
setSession(MavenSession session) |
getLog, setLog
public AntMojoWrapper(org.codehaus.plexus.component.factory.ant.AntScriptInvoker scriptInvoker)
public void execute() throws MojoExecutionException
execute
in interface Mojo
MojoExecutionException
public void setPluginContext(Map pluginContext)
setPluginContext
in interface ContextEnabled
setPluginContext
in class AbstractMojo
public Map getPluginContext()
getPluginContext
in interface ContextEnabled
getPluginContext
in class AbstractMojo
public void addComponentRequirement(org.codehaus.plexus.component.repository.ComponentRequirement requirementDescriptor, Object requirementValue) throws org.codehaus.plexus.component.configurator.ComponentConfigurationException
addComponentRequirement
in interface org.codehaus.plexus.component.MapOrientedComponent
org.codehaus.plexus.component.configurator.ComponentConfigurationException
public void setComponentConfiguration(Map componentConfiguration) throws org.codehaus.plexus.component.configurator.ComponentConfigurationException
setComponentConfiguration
in interface org.codehaus.plexus.component.MapOrientedComponent
org.codehaus.plexus.component.configurator.ComponentConfigurationException
public org.apache.tools.ant.types.Path getPathFromArtifacts(Collection<Artifact> artifacts, org.apache.tools.ant.Project antProject) throws DependencyResolutionRequiredException
public org.apache.tools.ant.Project getAntProject()
public void setAntProject(org.apache.tools.ant.Project antProject)
public MavenProject getMavenProject()
public void setMavenProject(MavenProject mavenProject)
public MojoExecution getMojoExecution()
public void setMojoExecution(MojoExecution mojoExecution)
public MavenSession getSession()
public void setSession(MavenSession session)
public PathTranslator getPathTranslator()
public void setPathTranslator(PathTranslator pathTranslator)
public org.codehaus.plexus.component.factory.ant.AntScriptInvoker getScriptInvoker()
public void enableLogging(org.codehaus.plexus.logging.Logger logger)
enableLogging
in interface org.codehaus.plexus.logging.LogEnabled
Copyright © 2004–2015 The Apache Software Foundation. All rights reserved.