public abstract class AbstractDependencyMojo
extends org.apache.maven.plugin.AbstractMojo
Modifier and Type | Field and Description |
---|---|
protected org.apache.maven.project.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.
|
getLog, getPluginContext, setLog, setPluginContext
protected org.apache.maven.project.MavenProject project
protected void writeArtifacts(String pathname, Collection artifacts) throws org.apache.maven.plugin.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
.org.apache.maven.plugin.MojoExecutionException
- If the output file could not be written.Copyright © 2008–2022 The Apache Software Foundation. All rights reserved.