org.apache.maven.plugin.tools.model
Class PluginMetadataParser
java.lang.Object
org.apache.maven.plugin.tools.model.PluginMetadataParser
public class PluginMetadataParser
- extends Object
Parser for plugin metadata.
- Version:
- $Id: PluginMetadataParser.java 1133707 2011-06-09 08:28:59Z stephenc $
Field Summary |
static String |
IMPL_BASE_PLACEHOLDER
Default implementation path which will be replaced in
AbstractScriptedMojoDescriptorExtractor#extractMojoDescriptorsFromMetadata(Map, PluginDescriptor) |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
IMPL_BASE_PLACEHOLDER
public static final String IMPL_BASE_PLACEHOLDER
- Default implementation path which will be replaced in
AbstractScriptedMojoDescriptorExtractor#extractMojoDescriptorsFromMetadata(Map, PluginDescriptor)
- See Also:
- Constant Field Values
PluginMetadataParser
public PluginMetadataParser()
parseMojoDescriptors
public Set<org.apache.maven.plugin.descriptor.MojoDescriptor> parseMojoDescriptors(File metadataFile)
throws PluginMetadataParseException
- Parameters:
metadataFile
- the metadata file to be parse
- Returns:
- a set of
MojoDescriptor
- Throws:
PluginMetadataParseException
- if any
Copyright © 2004-2012 The Apache Software Foundation. All Rights Reserved.