Class PluginMetadataParser
java.lang.Object
org.apache.maven.tools.plugin.extractor.model.PluginMetadataParser
Parser for plugin metadata.
-
Field Summary
Modifier and TypeFieldDescriptionstatic String
Default implementation path which will be replaced in AbstractScriptedMojoDescriptorExtractor#extractMojoDescriptorsFromMetadata(Map, PluginDescriptor) -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionSet<org.apache.maven.plugin.descriptor.MojoDescriptor>
parseMojoDescriptors(File metadataFile)
-
Field Details
-
IMPL_BASE_PLACEHOLDER
Default implementation path which will be replaced in AbstractScriptedMojoDescriptorExtractor#extractMojoDescriptorsFromMetadata(Map, PluginDescriptor)- See Also:
- Constant Field Values
-
-
Constructor Details
-
PluginMetadataParser
public PluginMetadataParser()
-
-
Method Details
-
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
-