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
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() |
org.apache.maven.project.MavenProject |
getMavenProject() |
org.apache.maven.plugin.MojoExecution |
getMojoExecution() |
org.apache.tools.ant.types.Path |
getPathFromArtifacts(Collection<org.apache.maven.artifact.Artifact> artifacts,
org.apache.tools.ant.Project antProject) |
org.apache.maven.project.path.PathTranslator |
getPathTranslator() |
Map |
getPluginContext() |
org.codehaus.plexus.component.factory.ant.AntScriptInvoker |
getScriptInvoker() |
org.apache.maven.execution.MavenSession |
getSession() |
void |
setAntProject(org.apache.tools.ant.Project antProject) |
void |
setComponentConfiguration(Map componentConfiguration) |
void |
setMavenProject(org.apache.maven.project.MavenProject mavenProject) |
void |
setMojoExecution(org.apache.maven.plugin.MojoExecution mojoExecution) |
void |
setPathTranslator(org.apache.maven.project.path.PathTranslator pathTranslator) |
void |
setPluginContext(Map pluginContext) |
void |
setSession(org.apache.maven.execution.MavenSession session) |
public AntMojoWrapper(org.codehaus.plexus.component.factory.ant.AntScriptInvoker scriptInvoker)
public void execute() throws org.apache.maven.plugin.MojoExecutionException
execute
in interface org.apache.maven.plugin.Mojo
org.apache.maven.plugin.MojoExecutionException
public void setPluginContext(Map pluginContext)
setPluginContext
in interface org.apache.maven.plugin.ContextEnabled
setPluginContext
in class org.apache.maven.plugin.AbstractMojo
public Map getPluginContext()
getPluginContext
in interface org.apache.maven.plugin.ContextEnabled
getPluginContext
in class org.apache.maven.plugin.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<org.apache.maven.artifact.Artifact> artifacts, org.apache.tools.ant.Project antProject) throws DependencyResolutionRequiredException
DependencyResolutionRequiredException
public org.apache.tools.ant.Project getAntProject()
public void setAntProject(org.apache.tools.ant.Project antProject)
public org.apache.maven.project.MavenProject getMavenProject()
public void setMavenProject(org.apache.maven.project.MavenProject mavenProject)
public org.apache.maven.plugin.MojoExecution getMojoExecution()
public void setMojoExecution(org.apache.maven.plugin.MojoExecution mojoExecution)
public org.apache.maven.execution.MavenSession getSession()
public void setSession(org.apache.maven.execution.MavenSession session)
public org.apache.maven.project.path.PathTranslator getPathTranslator()
public void setPathTranslator(org.apache.maven.project.path.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.