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 1367250 2012-07-30 19:57:20Z olamy $

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<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<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.