Class AbstractDependencyMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.apache.maven.plugins.dependency.AbstractDependencyMojo
- All Implemented Interfaces:
- org.apache.maven.plugin.ContextEnabled,- org.apache.maven.plugin.Mojo
- Direct Known Subclasses:
- AbstractDependencyFilterMojo,- AbstractFromConfigurationMojo,- ListRepositoriesMojo,- ResolvePluginsMojo
public abstract class AbstractDependencyMojo
extends org.apache.maven.plugin.AbstractMojo
- Author:
- Brian Fox
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprotected List<org.apache.maven.project.MavenProject> Contains the full list of projects in the reactor.protected final org.apache.maven.execution.MavenSessionThe Maven session.Fields inherited from interface org.apache.maven.plugin.MojoROLE
- 
Constructor SummaryConstructorsModifierConstructorDescriptionprotectedAbstractDependencyMojo(org.apache.maven.execution.MavenSession session, org.sonatype.plexus.build.incremental.BuildContext buildContext, org.apache.maven.project.MavenProject project) 
- 
Method SummaryModifier and TypeMethodDescriptionprotected abstract voidfinal voidexecute()org.apache.maven.project.MavenProjectprotected final booleanisSilent()Deprecated.to be removed in 4.0booleanisSkip()voidsetSilent(boolean silent) Deprecated.to be removed in 4.0; no API replacement, use -q command line option insteadvoidsetSkip(boolean skip) Methods inherited from class org.apache.maven.plugin.AbstractMojogetLog, getPluginContext, setLog, setPluginContext
- 
Field Details- 
reactorProjects@Parameter(defaultValue="${reactorProjects}", readonly=true) protected List<org.apache.maven.project.MavenProject> reactorProjectsContains the full list of projects in the reactor.
- 
sessionprotected final org.apache.maven.execution.MavenSession sessionThe Maven session.
 
- 
- 
Constructor Details- 
AbstractDependencyMojoprotected AbstractDependencyMojo(org.apache.maven.execution.MavenSession session, org.sonatype.plexus.build.incremental.BuildContext buildContext, org.apache.maven.project.MavenProject project) 
 
- 
- 
Method Details- 
executepublic final void execute() throws org.apache.maven.plugin.MojoExecutionException, org.apache.maven.plugin.MojoFailureException- Throws:
- org.apache.maven.plugin.MojoExecutionException
- org.apache.maven.plugin.MojoFailureException
 
- 
doExecuteprotected abstract void doExecute() throws org.apache.maven.plugin.MojoExecutionException, org.apache.maven.plugin.MojoFailureException- Throws:
- org.apache.maven.plugin.MojoExecutionException-- MojoExecutionException
- org.apache.maven.plugin.MojoFailureException-- MojoFailureException
 
- 
getProjectpublic org.apache.maven.project.MavenProject getProject()- Returns:
- returns the project
 
- 
isSkippublic boolean isSkip()- Returns:
- skip
 
- 
setSkippublic void setSkip(boolean skip) - Parameters:
- skip-- skip
 
- 
isSilentDeprecated.to be removed in 4.0- Returns:
- silent
 
- 
setSilentDeprecated.to be removed in 4.0; no API replacement, use -q command line option instead- Parameters:
- silent-- silent
 
 
-