Class PluginMetadataParser
- java.lang.Object
-
- org.apache.maven.tools.plugin.extractor.model.PluginMetadataParser
-
public class PluginMetadataParser extends Object
Parser for plugin metadata.
-
-
Field Summary
Fields Modifier and Type Field Description static StringIMPL_BASE_PLACEHOLDERDefault implementation path which will be replaced in AbstractScriptedMojoDescriptorExtractor#extractMojoDescriptorsFromMetadata(Map, PluginDescriptor)
-
Constructor Summary
Constructors Constructor Description PluginMetadataParser()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Set<org.apache.maven.plugin.descriptor.MojoDescriptor>parseMojoDescriptors(File metadataFile)
-
-
-
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
-
-
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
-
-