@Deprecated @Named(value="bsh") @Singleton public class BeanshellMojoDescriptorExtractor extends AbstractScriptedMojoDescriptorExtractor
Constructor and Description |
---|
BeanshellMojoDescriptorExtractor()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
protected List<org.apache.maven.plugin.descriptor.MojoDescriptor> |
extractMojoDescriptors(Map<String,Set<File>> scriptFilesKeyedByBasedir,
PluginToolsRequest request)
Deprecated.
Should be implemented in the sub classes.
|
GroupKey |
getGroupKey()
Deprecated.
Returns the
GroupKey of extractor, as MojoScanner will
execute them grouped, and ordered within groups. |
String |
getName()
Deprecated.
Returns the "name" (id) of the extractor.
|
protected String |
getScriptFileExtension(PluginToolsRequest request)
Deprecated.
|
copyScriptsToOutputDirectory, execute, extractMojoDescriptorsFromMetadata, gatherFilesByBasedir, getMetadataFileExtension, isDeprecated
enableLogging, getLogger, setupLogger, setupLogger, setupLogger
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getRequiredJavaVersion
public static final String NAME
public BeanshellMojoDescriptorExtractor()
public String getName()
MojoDescriptorExtractor
public GroupKey getGroupKey()
MojoDescriptorExtractor
GroupKey
of extractor, as MojoScanner
will
execute them grouped, and ordered within groups. Must never return null
.protected String getScriptFileExtension(PluginToolsRequest request)
getScriptFileExtension
in class AbstractScriptedMojoDescriptorExtractor
request
- the request.bsh
for BeanShell.protected List<org.apache.maven.plugin.descriptor.MojoDescriptor> extractMojoDescriptors(Map<String,Set<File>> scriptFilesKeyedByBasedir, PluginToolsRequest request) throws ExtractionException, org.apache.maven.plugin.descriptor.InvalidPluginDescriptorException
extractMojoDescriptors
in class AbstractScriptedMojoDescriptorExtractor
scriptFilesKeyedByBasedir
- could be nullrequest
- The plugin request, never null
.ExtractionException
- if anyorg.apache.maven.plugin.descriptor.InvalidPluginDescriptorException
- if anyCopyright © 2004–2024 The Apache Software Foundation. All rights reserved.