Class BeanshellMojoDescriptorExtractor

java.lang.Object
org.codehaus.plexus.logging.AbstractLogEnabled
org.apache.maven.tools.plugin.extractor.AbstractScriptedMojoDescriptorExtractor
org.apache.maven.tools.plugin.extractor.beanshell.BeanshellMojoDescriptorExtractor
All Implemented Interfaces:
org.apache.maven.tools.plugin.extractor.MojoDescriptorExtractor, org.codehaus.plexus.logging.LogEnabled

@Deprecated @Named("bsh") @Singleton public class BeanshellMojoDescriptorExtractor extends org.apache.maven.tools.plugin.extractor.AbstractScriptedMojoDescriptorExtractor
Deprecated.
Scripting support for mojos is deprecated and is planned tp be removed in maven 4.0
Extracts Mojo descriptors from BeanShell sources.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
    Deprecated.
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    Deprecated.
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected List<org.apache.maven.plugin.descriptor.MojoDescriptor>
    extractMojoDescriptors(Map<String,Set<File>> scriptFilesKeyedByBasedir, org.apache.maven.tools.plugin.PluginToolsRequest request)
    Deprecated.
    org.apache.maven.tools.plugin.extractor.GroupKey
    Deprecated.
     
    Deprecated.
     
    protected String
    getScriptFileExtension(org.apache.maven.tools.plugin.PluginToolsRequest request)
    Deprecated.

    Methods inherited from class org.apache.maven.tools.plugin.extractor.AbstractScriptedMojoDescriptorExtractor

    copyScriptsToOutputDirectory, execute, extractMojoDescriptorsFromMetadata, gatherFilesByBasedir, getMetadataFileExtension, isDeprecated

    Methods inherited from class org.codehaus.plexus.logging.AbstractLogEnabled

    enableLogging, getLogger, setupLogger, setupLogger, setupLogger

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.apache.maven.tools.plugin.extractor.MojoDescriptorExtractor

    getRequiredJavaVersion
  • Field Details

  • Constructor Details

    • BeanshellMojoDescriptorExtractor

      public BeanshellMojoDescriptorExtractor()
      Deprecated.
  • Method Details

    • getName

      public String getName()
      Deprecated.
    • getGroupKey

      public org.apache.maven.tools.plugin.extractor.GroupKey getGroupKey()
      Deprecated.
    • getScriptFileExtension

      protected String getScriptFileExtension(org.apache.maven.tools.plugin.PluginToolsRequest request)
      Deprecated.
      Specified by:
      getScriptFileExtension in class org.apache.maven.tools.plugin.extractor.AbstractScriptedMojoDescriptorExtractor
    • extractMojoDescriptors

      protected List<org.apache.maven.plugin.descriptor.MojoDescriptor> extractMojoDescriptors(Map<String,Set<File>> scriptFilesKeyedByBasedir, org.apache.maven.tools.plugin.PluginToolsRequest request) throws org.apache.maven.tools.plugin.extractor.ExtractionException, org.apache.maven.plugin.descriptor.InvalidPluginDescriptorException
      Deprecated.
      Overrides:
      extractMojoDescriptors in class org.apache.maven.tools.plugin.extractor.AbstractScriptedMojoDescriptorExtractor
      Throws:
      org.apache.maven.tools.plugin.extractor.ExtractionException
      org.apache.maven.plugin.descriptor.InvalidPluginDescriptorException