org.apache.maven.plugin.tools.model
Class PluginMetadataParser

java.lang.Object
  extended by 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)
 
Constructor Summary
PluginMetadataParser()
           
 
Method Summary
 Set<org.apache.maven.plugin.descriptor.MojoDescriptor> parseMojoDescriptors(File metadataFile)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

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
Constructor Detail

PluginMetadataParser

public PluginMetadataParser()
Method Detail

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.