Class 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

      Fields 
      Modifier and Type Field Description
      protected java.util.List<java.lang.String> extractors
      The extractors to use.
      protected org.apache.maven.project.MavenProject mavenProject
      Current project
      protected org.apache.maven.project.MavenProjectHelper mavenProjectHelper  
      protected MetadataGenerator metadataGenerator  
      protected java.lang.String sourceEncoding
      The file encoding of the source files.
      • Fields inherited from interface org.apache.maven.plugin.Mojo

        ROLE
    • 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 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 java.lang.String sourceEncoding
        The file encoding of the source files.
      • extractors

        @Parameter
        protected java.util.List<java.lang.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
    • Constructor Detail

      • AbstractDescriptorMojo

        public AbstractDescriptorMojo()