Package | Description |
---|---|
org.apache.maven.tools.plugin | |
org.apache.maven.tools.plugin.extractor | |
org.apache.maven.tools.plugin.scanner |
Modifier and Type | Class and Description |
---|---|
class |
DefaultPluginToolsRequest
Default implementation of
PluginToolsRequest , which is used to pass parameters to components used to extract
MojoDescriptor instances from different types of metadata
for a given plugin. |
Modifier and Type | Method and Description |
---|---|
PluginToolsRequest |
PluginToolsRequest.setDependencies(Set<Artifact> dependencies) |
PluginToolsRequest |
DefaultPluginToolsRequest.setDependencies(Set<Artifact> dependencies) |
PluginToolsRequest |
PluginToolsRequest.setEncoding(String encoding)
Sets the file encoding of the source files.
|
PluginToolsRequest |
DefaultPluginToolsRequest.setEncoding(String encoding)
Sets the file encoding of the source files.
|
PluginToolsRequest |
PluginToolsRequest.setLocal(ArtifactRepository local) |
PluginToolsRequest |
DefaultPluginToolsRequest.setLocal(ArtifactRepository local) |
PluginToolsRequest |
PluginToolsRequest.setPluginDescriptor(PluginDescriptor pluginDescriptor) |
PluginToolsRequest |
DefaultPluginToolsRequest.setPluginDescriptor(PluginDescriptor pluginDescriptor) |
PluginToolsRequest |
PluginToolsRequest.setProject(MavenProject project) |
PluginToolsRequest |
DefaultPluginToolsRequest.setProject(MavenProject project) |
PluginToolsRequest |
PluginToolsRequest.setRemoteRepos(List<ArtifactRepository> remoteRepos) |
PluginToolsRequest |
DefaultPluginToolsRequest.setRemoteRepos(List<ArtifactRepository> remoteRepos) |
PluginToolsRequest |
PluginToolsRequest.setSkipErrorNoDescriptorsFound(boolean skipErrorNoDescriptorsFound)
By default an exception is throw if no mojo descriptor is found.
|
PluginToolsRequest |
DefaultPluginToolsRequest.setSkipErrorNoDescriptorsFound(boolean skipErrorNoDescriptorsFound)
By default an exception is throw if no mojo descriptor is found.
|
Modifier and Type | Method and Description |
---|---|
protected void |
AbstractScriptedMojoDescriptorExtractor.copyScriptsToOutputDirectory(Map<String,Set<File>> scriptFilesKeyedByBasedir,
String outputDirectory,
PluginToolsRequest request) |
List<MojoDescriptor> |
AbstractScriptedMojoDescriptorExtractor.execute(PluginToolsRequest request)
Execute the mojo extraction.
|
List<MojoDescriptor> |
MojoDescriptorExtractor.execute(PluginToolsRequest request)
Execute the mojo extraction.
|
protected List<MojoDescriptor> |
AbstractScriptedMojoDescriptorExtractor.extractMojoDescriptors(Map<String,Set<File>> scriptFilesKeyedByBasedir,
PluginToolsRequest request)
Should be implemented in the sub classes.
|
protected List<MojoDescriptor> |
AbstractScriptedMojoDescriptorExtractor.extractMojoDescriptorsFromMetadata(Map<String,Set<File>> metadataFilesByBasedir,
PluginToolsRequest request)
Should be implemented in the sub classes.
|
protected Map<String,Set<File>> |
AbstractScriptedMojoDescriptorExtractor.gatherFilesByBasedir(File basedir,
List<String> directories,
String scriptFileExtension,
PluginToolsRequest request) |
protected String |
AbstractScriptedMojoDescriptorExtractor.getMetadataFileExtension(PluginToolsRequest request)
Should be implemented in the sub classes.
|
protected abstract String |
AbstractScriptedMojoDescriptorExtractor.getScriptFileExtension(PluginToolsRequest request) |
Modifier and Type | Method and Description |
---|---|
void |
DefaultMojoScanner.populatePluginDescriptor(PluginToolsRequest request) |
void |
MojoScanner.populatePluginDescriptor(PluginToolsRequest request) |
Copyright © 2004–2022 The Apache Software Foundation. All rights reserved.