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 743583 2009-02-12 01:00:40Z jdcasey $

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 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 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 Apache Software Foundation. All Rights Reserved.