Interface MojoDescriptorExtractor

All Known Implementing Classes:
AbstractScriptedMojoDescriptorExtractor, AntMojoDescriptorExtractor, BeanshellMojoDescriptorExtractor, JavaAnnotationsMojoDescriptorExtractor, JavaJavadocMojoDescriptorExtractor

public interface MojoDescriptorExtractor
Author:
jdcasey
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static String
    Plexus role for lookup
  • Method Summary

    Modifier and Type
    Method
    Description
    List<org.apache.maven.plugin.descriptor.MojoDescriptor>
    Execute the mojo extraction.
  • Field Details

    • ROLE

      static final String ROLE
      Plexus role for lookup
  • Method Details

    • execute

      List<org.apache.maven.plugin.descriptor.MojoDescriptor> execute(PluginToolsRequest request) throws ExtractionException, org.apache.maven.plugin.descriptor.InvalidPluginDescriptorException
      Execute the mojo extraction.
      Parameters:
      request - The PluginToolsRequest containing information for the extraction process.
      Returns:
      a list of mojo descriptors.
      Throws:
      ExtractionException - if any
      org.apache.maven.plugin.descriptor.InvalidPluginDescriptorException - if any
      Since:
      2.5