Class BeanshellMojoDescriptorExtractor
java.lang.Object
org.apache.maven.tools.plugin.extractor.AbstractScriptedMojoDescriptorExtractor
org.apache.maven.tools.plugin.extractor.beanshell.BeanshellMojoDescriptorExtractor
- All Implemented Interfaces:
MojoDescriptorExtractor
@Deprecated
@Named("bsh")
@Singleton
public class BeanshellMojoDescriptorExtractor
extends 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 -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected List<org.apache.maven.plugin.descriptor.MojoDescriptor> extractMojoDescriptors(Map<String, Set<File>> scriptFilesKeyedByBasedir, PluginToolsRequest request) Deprecated.Should be implemented in the sub classes.Deprecated.Returns theGroupKeyof extractor, asMojoScannerwill execute them grouped, and ordered within groups.getName()Deprecated.Returns the "name" (id) of the extractor.protected StringgetScriptFileExtension(PluginToolsRequest request) Deprecated.Methods inherited from class org.apache.maven.tools.plugin.extractor.AbstractScriptedMojoDescriptorExtractor
copyScriptsToOutputDirectory, execute, extractMojoDescriptorsFromMetadata, gatherFilesByBasedir, getMetadataFileExtension, isDeprecatedMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.maven.tools.plugin.extractor.MojoDescriptorExtractor
getRequiredJavaVersion
-
Field Details
-
NAME
Deprecated.- See Also:
-
-
Constructor Details
-
BeanshellMojoDescriptorExtractor
public BeanshellMojoDescriptorExtractor()Deprecated.
-
-
Method Details
-
getName
Deprecated.Description copied from interface:MojoDescriptorExtractorReturns the "name" (id) of the extractor. -
getGroupKey
Deprecated.Description copied from interface:MojoDescriptorExtractorReturns theGroupKeyof extractor, asMojoScannerwill execute them grouped, and ordered within groups. Must never returnnull. -
getScriptFileExtension
Deprecated.- Specified by:
getScriptFileExtensionin classAbstractScriptedMojoDescriptorExtractor- Parameters:
request- the request- Returns:
- the file extension like
.bshfor BeanShell.
-
extractMojoDescriptors
protected List<org.apache.maven.plugin.descriptor.MojoDescriptor> extractMojoDescriptors(Map<String, Set<File>> scriptFilesKeyedByBasedir, PluginToolsRequest request) throws ExtractionException, org.apache.maven.plugin.descriptor.InvalidPluginDescriptorExceptionDeprecated.Should be implemented in the sub classes.- Overrides:
extractMojoDescriptorsin classAbstractScriptedMojoDescriptorExtractor- Parameters:
scriptFilesKeyedByBasedir- could be nullrequest- The plugin request, nevernull.- Returns:
- always null
- Throws:
ExtractionException- if anyorg.apache.maven.plugin.descriptor.InvalidPluginDescriptorException- if any
-