Interface MojoScanner

  • All Known Implementing Classes:
    DefaultMojoScanner

    public interface MojoScanner
    Author:
    jdcasey
    • Method Detail

      • populatePluginDescriptor

        void populatePluginDescriptor​(PluginToolsRequest request)
                               throws ExtractionException,
                                      org.apache.maven.plugin.descriptor.InvalidPluginDescriptorException
        Parameters:
        request - not null
        Throws:
        ExtractionException - if any
        org.apache.maven.plugin.descriptor.InvalidPluginDescriptorException - if any
        Since:
        2.5
      • setActiveExtractors

        void setActiveExtractors​(Set<String> extractors)

        Sets the active extractors.

        Only the specified extractors will be used, all others will be skipped.

        Parameters:
        extractors - The names of the active extractors. If this parameter is null, all the scanner's extractors are considered active. Set entries that are null or empty ("") will be ignored.