@Named public class DefaultMojoScanner extends org.codehaus.plexus.logging.AbstractLogEnabled implements MojoScanner
Constructor and Description |
---|
DefaultMojoScanner()
Empty constructor
|
DefaultMojoScanner(Map<String,MojoDescriptorExtractor> extractors)
Default constructor
|
Modifier and Type | Method and Description |
---|---|
void |
populatePluginDescriptor(PluginToolsRequest request) |
void |
setActiveExtractors(Set<String> extractors)
Sets the active extractors.
|
@Inject public DefaultMojoScanner(Map<String,MojoDescriptorExtractor> extractors)
extractors
- not nullpublic DefaultMojoScanner()
public void populatePluginDescriptor(PluginToolsRequest request) throws ExtractionException, org.apache.maven.plugin.descriptor.InvalidPluginDescriptorException
populatePluginDescriptor
in interface MojoScanner
request
- not nullExtractionException
- if anyorg.apache.maven.plugin.descriptor.InvalidPluginDescriptorException
- if anypublic void setActiveExtractors(Set<String> extractors)
MojoScanner
Sets the active extractors.
Only the specified extractors will be used, all others will be skipped.
setActiveExtractors
in interface MojoScanner
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.Copyright © 2004–2024 The Apache Software Foundation. All rights reserved.