org.apache.maven.tools.plugin.extractor.java
Class JavaMojoDescriptorExtractor

java.lang.Object
  extended by org.codehaus.plexus.logging.AbstractLogEnabled
      extended by org.apache.maven.tools.plugin.extractor.java.JavaMojoDescriptorExtractor
All Implemented Interfaces:
org.apache.maven.tools.plugin.extractor.MojoDescriptorExtractor, org.codehaus.plexus.logging.LogEnabled

public class JavaMojoDescriptorExtractor
extends org.codehaus.plexus.logging.AbstractLogEnabled
implements org.apache.maven.tools.plugin.extractor.MojoDescriptorExtractor


Field Summary
static String CONFIGURATOR
           
static String DEPRECATED
           
static String EXECUTE
           
static String EXECUTE_GOAL
           
static String EXECUTE_LIFECYCLE
           
static String EXECUTE_PHASE
           
static String GOAL
           
static String GOAL_DESCRIPTION
           
static String GOAL_INHERIT_BY_DEFAULT
           
static String GOAL_IS_AGGREGATOR
           
static String GOAL_MULTI_EXECUTION_STRATEGY
           
static String GOAL_REQUIRES_DEPENDENCY_RESOLUTION
           
static String GOAL_REQUIRES_DIRECT_INVOCATION
           
static String GOAL_REQUIRES_ONLINE
           
static String GOAL_REQUIRES_PROJECT
           
static String GOAL_REQUIRES_REPORTS
           
static String MAVEN_PLUGIN_INSTANTIATION
           
static String PARAMETER
           
static String PARAMETER_ALIAS
           
static String PARAMETER_DEFAULT_VALUE
           
static String PARAMETER_EXPRESSION
           
static String PARAMETER_PROPERTY
          This indicates the base name of the bean properties used to read/write this parameter's value.
static String PHASE
           
static String READONLY
           
static String REQUIRED
           
static String SINCE
           
 
Fields inherited from interface org.apache.maven.tools.plugin.extractor.MojoDescriptorExtractor
ROLE
 
Constructor Summary
JavaMojoDescriptorExtractor()
           
 
Method Summary
 List execute(org.apache.maven.project.MavenProject project, org.apache.maven.plugin.descriptor.PluginDescriptor pluginDescriptor)
           
protected  void validateParameter(org.apache.maven.plugin.descriptor.Parameter parameter, int i)
           
 
Methods inherited from class org.codehaus.plexus.logging.AbstractLogEnabled
enableLogging, getLogger, setupLogger, setupLogger, setupLogger
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

MAVEN_PLUGIN_INSTANTIATION

public static final String MAVEN_PLUGIN_INSTANTIATION
See Also:
Constant Field Values

CONFIGURATOR

public static final String CONFIGURATOR
See Also:
Constant Field Values

PARAMETER

public static final String PARAMETER
See Also:
Constant Field Values

PARAMETER_EXPRESSION

public static final String PARAMETER_EXPRESSION
See Also:
Constant Field Values

PARAMETER_DEFAULT_VALUE

public static final String PARAMETER_DEFAULT_VALUE
See Also:
Constant Field Values

PARAMETER_ALIAS

public static final String PARAMETER_ALIAS
See Also:
Constant Field Values

SINCE

public static final String SINCE
See Also:
Constant Field Values

PARAMETER_PROPERTY

public static final String PARAMETER_PROPERTY
This indicates the base name of the bean properties used to read/write this parameter's value. So:

See Also:
Constant Field Values

REQUIRED

public static final String REQUIRED
See Also:
Constant Field Values

DEPRECATED

public static final String DEPRECATED
See Also:
Constant Field Values

READONLY

public static final String READONLY
See Also:
Constant Field Values

GOAL

public static final String GOAL
See Also:
Constant Field Values

PHASE

public static final String PHASE
See Also:
Constant Field Values

EXECUTE

public static final String EXECUTE
See Also:
Constant Field Values

EXECUTE_LIFECYCLE

public static final String EXECUTE_LIFECYCLE
See Also:
Constant Field Values

EXECUTE_PHASE

public static final String EXECUTE_PHASE
See Also:
Constant Field Values

EXECUTE_GOAL

public static final String EXECUTE_GOAL
See Also:
Constant Field Values

GOAL_DESCRIPTION

public static final String GOAL_DESCRIPTION
See Also:
Constant Field Values

GOAL_REQUIRES_DEPENDENCY_RESOLUTION

public static final String GOAL_REQUIRES_DEPENDENCY_RESOLUTION
See Also:
Constant Field Values

GOAL_REQUIRES_PROJECT

public static final String GOAL_REQUIRES_PROJECT
See Also:
Constant Field Values

GOAL_REQUIRES_REPORTS

public static final String GOAL_REQUIRES_REPORTS
See Also:
Constant Field Values

GOAL_IS_AGGREGATOR

public static final String GOAL_IS_AGGREGATOR
See Also:
Constant Field Values

GOAL_REQUIRES_ONLINE

public static final String GOAL_REQUIRES_ONLINE
See Also:
Constant Field Values

GOAL_INHERIT_BY_DEFAULT

public static final String GOAL_INHERIT_BY_DEFAULT
See Also:
Constant Field Values

GOAL_MULTI_EXECUTION_STRATEGY

public static final String GOAL_MULTI_EXECUTION_STRATEGY
See Also:
Constant Field Values

GOAL_REQUIRES_DIRECT_INVOCATION

public static final String GOAL_REQUIRES_DIRECT_INVOCATION
See Also:
Constant Field Values
Constructor Detail

JavaMojoDescriptorExtractor

public JavaMojoDescriptorExtractor()
Method Detail

validateParameter

protected void validateParameter(org.apache.maven.plugin.descriptor.Parameter parameter,
                                 int i)
                          throws org.apache.maven.plugin.descriptor.InvalidParameterException
Throws:
org.apache.maven.plugin.descriptor.InvalidParameterException

execute

public List execute(org.apache.maven.project.MavenProject project,
                    org.apache.maven.plugin.descriptor.PluginDescriptor pluginDescriptor)
             throws org.apache.maven.plugin.descriptor.InvalidPluginDescriptorException
Specified by:
execute in interface org.apache.maven.tools.plugin.extractor.MojoDescriptorExtractor
Throws:
org.apache.maven.plugin.descriptor.InvalidPluginDescriptorException


Copyright © 2002-2006 Apache Software Foundation. All Rights Reserved.