public abstract class AbstractDependencyMojo extends AbstractMojo
| Modifier and Type | Field and Description |
|---|---|
protected MavenProject |
project
The current Maven project.
|
| Constructor and Description |
|---|
AbstractDependencyMojo() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
writeArtifacts(String pathname,
Collection artifacts)
Writes the specified artifacts to the given output file.
|
protected void |
writeClassPath(String pathname,
Collection classPath)
Writes the specified class path elements to the given output file.
|
protected void |
writeClassPathChecksums(String pathname,
Collection classPath) |
getLog, getPluginContext, setLog, setPluginContextprotected MavenProject project
protected void writeArtifacts(String pathname, Collection artifacts) throws MojoExecutionException
pathname - The path to the output file, relative to the project base directory, may be null or
empty if the output file should not be written.artifacts - The list of artifacts to write to the file, may be null.MojoExecutionException - If the output file could not be written.protected void writeClassPath(String pathname, Collection classPath) throws MojoExecutionException
pathname - The path to the output file, relative to the project base directory, may be null or
empty if the output file should not be written.classPath - The list of class path elements to write to the file, may be null.MojoExecutionException - If the output file could not be written.protected void writeClassPathChecksums(String pathname, Collection classPath) throws MojoExecutionException
MojoExecutionExceptionCopyright © 2008–2022 The Apache Software Foundation. All rights reserved.