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 Summary
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
-
Constructor Summary
ConstructorDescriptionAntMojoWrapper
(org.codehaus.plexus.component.factory.ant.AntScriptInvoker scriptInvoker) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionvoid
addComponentRequirement
(org.codehaus.plexus.component.repository.ComponentRequirement requirementDescriptor, Object requirementValue) Deprecated.void
enableLogging
(org.codehaus.plexus.logging.Logger logger) Deprecated.void
execute()
Deprecated.org.apache.tools.ant.Project
Deprecated.org.apache.maven.project.MavenProject
Deprecated.org.apache.maven.plugin.MojoExecution
Deprecated.org.apache.tools.ant.types.Path
getPathFromArtifacts
(Collection<org.apache.maven.artifact.Artifact> artifacts, org.apache.tools.ant.Project antProject) Deprecated.org.apache.maven.project.path.PathTranslator
Deprecated.Deprecated.org.codehaus.plexus.component.factory.ant.AntScriptInvoker
Deprecated.org.apache.maven.execution.MavenSession
Deprecated.void
setAntProject
(org.apache.tools.ant.Project antProject) Deprecated.void
setComponentConfiguration
(Map componentConfiguration) Deprecated.void
setMavenProject
(org.apache.maven.project.MavenProject mavenProject) Deprecated.void
setMojoExecution
(org.apache.maven.plugin.MojoExecution mojoExecution) Deprecated.void
setPathTranslator
(org.apache.maven.project.path.PathTranslator pathTranslator) Deprecated.void
setPluginContext
(Map pluginContext) Deprecated.void
setSession
(org.apache.maven.execution.MavenSession session) Deprecated.Methods inherited from class org.apache.maven.plugin.AbstractMojo
getLog, setLog
-
Constructor Details
-
AntMojoWrapper
Deprecated.
-
-
Method Details
-
execute
Deprecated.- Specified by:
execute
in interfaceorg.apache.maven.plugin.Mojo
- Throws:
org.apache.maven.plugin.MojoExecutionException
-
setPluginContext
Deprecated.- Specified by:
setPluginContext
in interfaceorg.apache.maven.plugin.ContextEnabled
- Overrides:
setPluginContext
in classorg.apache.maven.plugin.AbstractMojo
-
getPluginContext
Deprecated.- Specified by:
getPluginContext
in interfaceorg.apache.maven.plugin.ContextEnabled
- Overrides:
getPluginContext
in classorg.apache.maven.plugin.AbstractMojo
-
addComponentRequirement
public void addComponentRequirement(org.codehaus.plexus.component.repository.ComponentRequirement requirementDescriptor, Object requirementValue) throws org.codehaus.plexus.component.configurator.ComponentConfigurationException Deprecated.- 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 Deprecated.- 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<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
-
getAntProject
Deprecated. -
setAntProject
Deprecated. -
getMavenProject
Deprecated. -
setMavenProject
Deprecated. -
getMojoExecution
Deprecated. -
setMojoExecution
Deprecated. -
getSession
Deprecated. -
setSession
Deprecated. -
getPathTranslator
Deprecated. -
setPathTranslator
Deprecated. -
getScriptInvoker
Deprecated. -
enableLogging
Deprecated.- Specified by:
enableLogging
in interfaceorg.codehaus.plexus.logging.LogEnabled
-