Class PluginMetadataParser


  • @Deprecated
    public class PluginMetadataParser
    extends java.lang.Object
    Deprecated.
    Scripting support for mojos is deprecated and is planned tp be removed in maven 4.0
    Parser for plugin metadata.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String IMPL_BASE_PLACEHOLDER
      Deprecated.
      Default implementation path which will be replaced in AbstractScriptedMojoDescriptorExtractor#extractMojoDescriptorsFromMetadata(Map, PluginDescriptor)
    • Method Summary

      All Methods Instance Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method Description
      java.util.Set<org.apache.maven.plugin.descriptor.MojoDescriptor> parseMojoDescriptors​(java.io.File metadataFile)
      Deprecated.
       
      • 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
        Deprecated.
        Default implementation path which will be replaced in AbstractScriptedMojoDescriptorExtractor#extractMojoDescriptorsFromMetadata(Map, PluginDescriptor)
        See Also:
        Constant Field Values
    • Constructor Detail

      • PluginMetadataParser

        public PluginMetadataParser()
        Deprecated.
    • Method Detail

      • parseMojoDescriptors

        public java.util.Set<org.apache.maven.plugin.descriptor.MojoDescriptor> parseMojoDescriptors​(java.io.File metadataFile)
                                                                                              throws PluginMetadataParseException
        Deprecated.
        Parameters:
        metadataFile - the metadata file to be parse
        Returns:
        a set of MojoDescriptor
        Throws:
        PluginMetadataParseException - if any