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

java.lang.Object
  extended by org.apache.maven.plugin.tools.model.PluginMetadataParser

public class PluginMetadataParser
extends java.lang.Object

Parser for plugin metadata.

Version:
$Id: PluginMetadataParser.java 684241 2008-08-09 12:16:04Z vsiveton $

Field Summary
static java.lang.String IMPL_BASE_PLACEHOLDER
          Default implementation path which will be replaced in AbstractScriptedMojoDescriptorExtractor#extractMojoDescriptorsFromMetadata(Map, PluginDescriptor)
 
Constructor Summary
PluginMetadataParser()
           
 
Method Summary
 java.util.Set parseMojoDescriptors(java.io.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 java.lang.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 java.util.Set parseMojoDescriptors(java.io.File metadataFile)
                                   throws PluginMetadataParseException
Parameters:
metadataFile - the metadata file to be parse
Returns:
a set of MojoDescriptor
Throws:
PluginMetadataParseException - if any


Copyright © 2004-2010 Apache Software Foundation. All Rights Reserved.