org.apache.maven.tools.plugin.scanner
Interface MojoScanner
- All Known Implementing Classes:
- DefaultMojoScanner
public interface MojoScanner
- Version:
- $Id: MojoScanner.java 629081 2008-02-19 11:58:28Z vsiveton $
- Author:
- jdcasey
Field Summary |
static java.lang.String |
ROLE
Plexus role for lookup |
Method Summary |
void |
populatePluginDescriptor(org.apache.maven.project.MavenProject project,
org.apache.maven.plugin.descriptor.PluginDescriptor pluginDescriptor)
|
void |
setActiveExtractors(java.util.Set extractors)
Sets the active extractors. |
ROLE
static final java.lang.String ROLE
- Plexus role for lookup
populatePluginDescriptor
void populatePluginDescriptor(org.apache.maven.project.MavenProject project,
org.apache.maven.plugin.descriptor.PluginDescriptor pluginDescriptor)
throws ExtractionException,
org.apache.maven.plugin.descriptor.InvalidPluginDescriptorException
- Parameters:
project
- pluginDescriptor
-
- Throws:
ExtractionException
org.apache.maven.plugin.descriptor.InvalidPluginDescriptorException
setActiveExtractors
void setActiveExtractors(java.util.Set extractors)
- Sets the active extractors.
Only the specified extractors will be used, all others will be skipped.
- Parameters:
extractors
- The names of the sctive 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-2008 The Apache Software Foundation. All Rights Reserved.