@Deprecated @Named(value="ant") @Singleton public class AntMojoDescriptorExtractor extends AbstractScriptedMojoDescriptorExtractor
Constructor and Description |
---|
AntMojoDescriptorExtractor()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
protected List<org.apache.maven.plugin.descriptor.MojoDescriptor> |
extractMojoDescriptorsFromMetadata(Map<String,Set<File>> metadataFilesKeyedByBasedir,
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. |
protected String |
getMetadataFileExtension(PluginToolsRequest request)
Deprecated.
Should be implemented in the sub classes.
|
String |
getName()
Deprecated.
Returns the "name" (id) of the extractor.
|
protected String |
getScriptFileExtension(PluginToolsRequest request)
Deprecated.
|
copyScriptsToOutputDirectory, execute, extractMojoDescriptors, gatherFilesByBasedir, isDeprecated
enableLogging, getLogger, setupLogger, setupLogger, setupLogger
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getRequiredJavaVersion
public static final String NAME
public AntMojoDescriptorExtractor()
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 List<org.apache.maven.plugin.descriptor.MojoDescriptor> extractMojoDescriptorsFromMetadata(Map<String,Set<File>> metadataFilesKeyedByBasedir, PluginToolsRequest request) throws ExtractionException, org.apache.maven.plugin.descriptor.InvalidPluginDescriptorException
extractMojoDescriptorsFromMetadata
in class AbstractScriptedMojoDescriptorExtractor
metadataFilesKeyedByBasedir
- could be nullrequest
- The plugin request, never null
.ExtractionException
- if anyorg.apache.maven.plugin.descriptor.InvalidPluginDescriptorException
- if anyprotected String getScriptFileExtension(PluginToolsRequest request)
getScriptFileExtension
in class AbstractScriptedMojoDescriptorExtractor
request
- the request.bsh
for BeanShell.protected String getMetadataFileExtension(PluginToolsRequest request)
getMetadataFileExtension
in class AbstractScriptedMojoDescriptorExtractor
request
- the requestCopyright © 2004–2024 The Apache Software Foundation. All rights reserved.