Interface MojoDescriptorExtractor

    • Method Detail

      • getName

        String getName()
        Returns the "name" (id) of the extractor.
        Since:
        3.7.0
      • isDeprecated

        boolean isDeprecated()
        Returns true if extractor is deprecated.
        Since:
        3.7.0
      • 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. These may return HTML values for some fields.
        Throws:
        ExtractionException - if any
        org.apache.maven.plugin.descriptor.InvalidPluginDescriptorException - if any
        Since:
        2.5
      • getRequiredJavaVersion

        default String getRequiredJavaVersion()
        The default implementation returns null.
        Returns:
        the required java version or null if unknown
        Since:
        3.8.0