Package org.codehaus.plexus.maven.plugin
Class AbstractDescriptorMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.codehaus.plexus.maven.plugin.AbstractDescriptorMojo
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled
,org.apache.maven.plugin.Mojo
- Direct Known Subclasses:
PlexusDescriptorMojo
,PlexusTestDescriptorMojo
public abstract class AbstractDescriptorMojo
extends org.apache.maven.plugin.AbstractMojo
Base class for Plexus Metadata mojos.
-
Field Summary
FieldsModifier and TypeFieldDescriptionThe extractors to use.protected org.apache.maven.project.MavenProject
Current projectprotected org.apache.maven.project.MavenProjectHelper
protected MetadataGenerator
protected String
The file encoding of the source files.Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.apache.maven.plugin.AbstractMojo
getLog, getPluginContext, setLog, setPluginContext
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.apache.maven.plugin.Mojo
execute
-
Field Details
-
mavenProject
@Parameter(defaultValue="${project}", required=true, readonly=true) protected org.apache.maven.project.MavenProject mavenProjectCurrent project -
sourceEncoding
The file encoding of the source files. -
extractors
The extractors to use. By default all available extractors will be used. Known extractors:- source
- class
-
mavenProjectHelper
@Component protected org.apache.maven.project.MavenProjectHelper mavenProjectHelper -
metadataGenerator
-
-
Constructor Details
-
AbstractDescriptorMojo
public AbstractDescriptorMojo()
-