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:
- org.apache.maven.plugin.ContextEnabled,- org.apache.maven.plugin.Mojo,- org.codehaus.plexus.component.MapOrientedComponent,- org.codehaus.plexus.logging.LogEnabled
@Deprecated
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
Deprecated.
Scripting support for mojos is deprecated and is planned tp be removed in maven 4.0
- 
Field SummaryFields inherited from interface org.apache.maven.plugin.MojoROLE
- 
Constructor SummaryConstructorsConstructorDescriptionAntMojoWrapper(org.codehaus.plexus.component.factory.ant.AntScriptInvoker scriptInvoker) Deprecated.
- 
Method SummaryModifier and TypeMethodDescriptionvoidaddComponentRequirement(org.codehaus.plexus.component.repository.ComponentRequirement requirementDescriptor, Object requirementValue) Deprecated.voidenableLogging(org.codehaus.plexus.logging.Logger logger) Deprecated.voidexecute()Deprecated.org.apache.tools.ant.ProjectDeprecated.org.apache.maven.project.MavenProjectDeprecated.org.apache.maven.plugin.MojoExecutionDeprecated.org.apache.tools.ant.types.PathgetPathFromArtifacts(Collection<org.apache.maven.artifact.Artifact> artifacts, org.apache.tools.ant.Project antProject) Deprecated.org.apache.maven.project.path.PathTranslatorDeprecated.Deprecated.org.codehaus.plexus.component.factory.ant.AntScriptInvokerDeprecated.org.apache.maven.execution.MavenSessionDeprecated.voidsetAntProject(org.apache.tools.ant.Project antProject) Deprecated.voidsetComponentConfiguration(Map componentConfiguration) Deprecated.voidsetMavenProject(org.apache.maven.project.MavenProject mavenProject) Deprecated.voidsetMojoExecution(org.apache.maven.plugin.MojoExecution mojoExecution) Deprecated.voidsetPathTranslator(org.apache.maven.project.path.PathTranslator pathTranslator) Deprecated.voidsetPluginContext(Map pluginContext) Deprecated.voidsetSession(org.apache.maven.execution.MavenSession session) Deprecated.Methods inherited from class org.apache.maven.plugin.AbstractMojogetLog, setLog
- 
Constructor Details- 
AntMojoWrapperDeprecated.
 
- 
- 
Method Details- 
executeDeprecated.- Specified by:
- executein interface- org.apache.maven.plugin.Mojo
- Throws:
- org.apache.maven.plugin.MojoExecutionException
 
- 
setPluginContextDeprecated.- Specified by:
- setPluginContextin interface- org.apache.maven.plugin.ContextEnabled
- Overrides:
- setPluginContextin class- org.apache.maven.plugin.AbstractMojo
 
- 
getPluginContextDeprecated.- Specified by:
- getPluginContextin interface- org.apache.maven.plugin.ContextEnabled
- Overrides:
- getPluginContextin class- org.apache.maven.plugin.AbstractMojo
 
- 
addComponentRequirementpublic void addComponentRequirement(org.codehaus.plexus.component.repository.ComponentRequirement requirementDescriptor, Object requirementValue) throws org.codehaus.plexus.component.configurator.ComponentConfigurationException Deprecated.- Specified by:
- addComponentRequirementin interface- org.codehaus.plexus.component.MapOrientedComponent
- Throws:
- org.codehaus.plexus.component.configurator.ComponentConfigurationException
 
- 
setComponentConfigurationpublic void setComponentConfiguration(Map componentConfiguration) throws org.codehaus.plexus.component.configurator.ComponentConfigurationException Deprecated.- Specified by:
- setComponentConfigurationin interface- org.codehaus.plexus.component.MapOrientedComponent
- Throws:
- org.codehaus.plexus.component.configurator.ComponentConfigurationException
 
- 
getPathFromArtifactspublic org.apache.tools.ant.types.Path getPathFromArtifacts(Collection<org.apache.maven.artifact.Artifact> artifacts, org.apache.tools.ant.Project antProject) throws org.apache.maven.artifact.DependencyResolutionRequiredException Deprecated.- Throws:
- org.apache.maven.artifact.DependencyResolutionRequiredException
 
- 
getAntProjectDeprecated.
- 
setAntProjectDeprecated.
- 
getMavenProjectDeprecated.
- 
setMavenProjectDeprecated.
- 
getMojoExecutionDeprecated.
- 
setMojoExecutionDeprecated.
- 
getSessionDeprecated.
- 
setSessionDeprecated.
- 
getPathTranslatorDeprecated.
- 
setPathTranslatorDeprecated.
- 
getScriptInvokerDeprecated.
- 
enableLoggingDeprecated.- Specified by:
- enableLoggingin interface- org.codehaus.plexus.logging.LogEnabled
 
 
-