org.apache.maven.tools.plugin.extractor.java
public class JavaMojoDescriptorExtractor extends AbstractLogEnabled implements MojoDescriptorExtractor
UNKNOWN: add example usage tag that can be shown in the doco need to add validation directives so that systems embedding maven2 can get validation directives to help users in IDEs.
Field Summary | |
---|---|
static String | CONFIGURATOR |
static String | DEPRECATED |
static String | EXECUTE |
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_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 |
Method Summary | |
---|---|
List | execute(MavenProject project, PluginDescriptor pluginDescriptor) |
protected void | validateParameter(Parameter parameter, int i) |
UNKNOWN: property="project" Would say there is a getProject() method and a setProject(Project) method. Here the field name would not be the basis for the parameter's name. This mode of operation will allow the mojos to be usable as beans and will be the promoted form of use.