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.- Author:
- Jason van Zyl
-
-
Field Summary
Fields Modifier and Type Field Description protected List<String>
extractors
The extractors to use.protected org.apache.maven.project.MavenProject
mavenProject
Current projectprotected org.apache.maven.project.MavenProjectHelper
mavenProjectHelper
protected MetadataGenerator
metadataGenerator
protected String
sourceEncoding
The file encoding of the source files.
-
Constructor Summary
Constructors Constructor Description AbstractDescriptorMojo()
-
-
-
Field Detail
-
mavenProject
@Parameter(defaultValue="${project}", required=true, readonly=true) protected org.apache.maven.project.MavenProject mavenProject
Current project
-
sourceEncoding
@Parameter(defaultValue="${project.build.sourceEncoding}") protected String sourceEncoding
The file encoding of the source files.
-
extractors
@Parameter protected List<String> 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
@Component protected MetadataGenerator metadataGenerator
-
-