Package org.apache.maven.script.ant
Class AntMojoWrapper
java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.apache.maven.script.ant.AntMojoWrapper
- All Implemented Interfaces:
ContextEnabled
,Mojo
,org.codehaus.plexus.component.MapOrientedComponent
,org.codehaus.plexus.logging.LogEnabled
public class AntMojoWrapper
extends AbstractMojo
implements ContextEnabled, org.codehaus.plexus.component.MapOrientedComponent, org.codehaus.plexus.logging.LogEnabled
-
Field Summary
-
Constructor Summary
ConstructorDescriptionAntMojoWrapper(org.codehaus.plexus.component.factory.ant.AntScriptInvoker scriptInvoker)
-
Method Summary
Modifier and TypeMethodDescriptionvoid
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
org.apache.tools.ant.types.Path
getPathFromArtifacts(Collection<Artifact> artifacts, org.apache.tools.ant.Project antProject)
org.codehaus.plexus.component.factory.ant.AntScriptInvoker
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)
Methods inherited from class org.apache.maven.plugin.AbstractMojo
getLog, setLog
-
Constructor Details
-
AntMojoWrapper
-
-
Method Details
-
execute
- Specified by:
execute
in interfaceMojo
- Throws:
MojoExecutionException
-
setPluginContext
- Specified by:
setPluginContext
in interfaceContextEnabled
- Overrides:
setPluginContext
in classAbstractMojo
-
getPluginContext
- Specified by:
getPluginContext
in interfaceContextEnabled
- Overrides:
getPluginContext
in classAbstractMojo
-
addComponentRequirement
public void addComponentRequirement(org.codehaus.plexus.component.repository.ComponentRequirement requirementDescriptor, Object requirementValue) throws org.codehaus.plexus.component.configurator.ComponentConfigurationException- Specified by:
addComponentRequirement
in interfaceorg.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 interfaceorg.codehaus.plexus.component.MapOrientedComponent
- Throws:
org.codehaus.plexus.component.configurator.ComponentConfigurationException
-
getPathFromArtifacts
public org.apache.tools.ant.types.Path getPathFromArtifacts(Collection<Artifact> artifacts, org.apache.tools.ant.Project antProject) throws DependencyResolutionRequiredException -
getAntProject
-
setAntProject
-
getMavenProject
-
setMavenProject
-
getMojoExecution
-
setMojoExecution
-
getSession
-
setSession
-
getPathTranslator
-
setPathTranslator
-
getScriptInvoker
-
enableLogging
- Specified by:
enableLogging
in interfaceorg.codehaus.plexus.logging.LogEnabled
-