org.apache.maven.tools.plugin.scanner
Interface MojoScanner

All Known Implementing Classes:
DefaultMojoScanner

public interface MojoScanner

Version:
$Id: MojoScanner.java 1212905 2011-12-10 22:31:48Z hboutemy $
Author:
jdcasey

Field Summary
static String ROLE
          Plexus role for lookup
 
Method Summary
 void populatePluginDescriptor(MavenProject project, PluginDescriptor pluginDescriptor)
          Deprecated. Use populatePluginDescriptor(PluginToolsRequest) instead. Provided for backward compatibility with maven-plugin-plugin < 2.5.
 void populatePluginDescriptor(PluginToolsRequest request)
           
 void setActiveExtractors(Set<String> extractors)
          Sets the active extractors.
 

Field Detail

ROLE

static final String ROLE
Plexus role for lookup

Method Detail

populatePluginDescriptor

void populatePluginDescriptor(MavenProject project,
                              PluginDescriptor pluginDescriptor)
                              throws ExtractionException,
                                     InvalidPluginDescriptorException
Deprecated. Use populatePluginDescriptor(PluginToolsRequest) instead. Provided for backward compatibility with maven-plugin-plugin < 2.5.

Parameters:
project - not null
pluginDescriptor - not null
Throws:
ExtractionException - if any
InvalidPluginDescriptorException - if any

populatePluginDescriptor

void populatePluginDescriptor(PluginToolsRequest request)
                              throws ExtractionException,
                                     InvalidPluginDescriptorException
Parameters:
request - not null
Throws:
ExtractionException - if any
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.


Copyright © 2004-2012 The Apache Software Foundation. All Rights Reserved.