org.apache.maven.tools.plugin.scanner
Interface MojoScanner
- All Known Implementing Classes:
- DefaultMojoScanner
public interface MojoScanner
- Version:
- $Id: MojoScanner.java 684236 2008-08-09 12:11:34Z 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
- not nullpluginDescriptor
- not null
- Throws:
ExtractionException
- if any
org.apache.maven.plugin.descriptor.InvalidPluginDescriptorException
- if any
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.