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
public abstract class AbstractDependencyMojo
extends org.apache.maven.plugin.AbstractMojo
- Author:
 - Brian Fox
 
- 
Field Summary
FieldsModifier and TypeFieldDescriptionprotected List<org.apache.maven.project.MavenProject> Contains the full list of projects in the reactor.protected org.apache.maven.execution.MavenSessionThe Maven sessionFields inherited from interface org.apache.maven.plugin.Mojo
ROLE - 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionprotected abstract voidfinal voidexecute()org.apache.maven.project.MavenProjectprotected final booleanisSilent()booleanisSkip()org.apache.maven.project.ProjectBuildingRequestprotected org.apache.maven.project.ProjectBuildingRequestvoidsetSilent(boolean silent) voidsetSkip(boolean skip) Methods inherited from class org.apache.maven.plugin.AbstractMojo
getLog, 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. - 
session
@Component protected org.apache.maven.execution.MavenSession sessionThe Maven session 
 - 
 - 
Constructor Details
- 
AbstractDependencyMojo
public AbstractDependencyMojo() 
 - 
 - 
Method Details
- 
execute
public final void execute() throws org.apache.maven.plugin.MojoExecutionException, org.apache.maven.plugin.MojoFailureException- Throws:
 org.apache.maven.plugin.MojoExecutionExceptionorg.apache.maven.plugin.MojoFailureException
 - 
doExecute
protected abstract void doExecute() throws org.apache.maven.plugin.MojoExecutionException, org.apache.maven.plugin.MojoFailureException- Throws:
 org.apache.maven.plugin.MojoExecutionException-MojoExecutionExceptionorg.apache.maven.plugin.MojoFailureException-MojoFailureException
 - 
newResolveArtifactProjectBuildingRequest
public org.apache.maven.project.ProjectBuildingRequest newResolveArtifactProjectBuildingRequest()- Returns:
 - Returns a new ProjectBuildingRequest populated from the current session and the current project remote repositories, used to resolve artifacts.
 
 - 
newResolvePluginProjectBuildingRequest
protected org.apache.maven.project.ProjectBuildingRequest newResolvePluginProjectBuildingRequest()- Returns:
 - Returns a new ProjectBuildingRequest populated from the current session and the current project remote repositories, used to resolve plugins.
 
 - 
getProject
public org.apache.maven.project.MavenProject getProject()- Returns:
 - Returns the project.
 
 - 
isSkip
public boolean isSkip()- Returns:
 skip
 - 
setSkip
public void setSkip(boolean skip) - Parameters:
 skip-skip
 - 
isSilent
protected final boolean isSilent()- Returns:
 silent
 - 
setSilent
public void setSilent(boolean silent) - Parameters:
 silent-silent
 
 -