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.
    Author:
    Jason van Zyl
    • 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
    • Constructor Detail

      • AbstractDescriptorMojo

        public AbstractDescriptorMojo()