public abstract class AbstractDependencyMojo
extends org.apache.maven.plugin.AbstractMojo
Modifier and Type | Field and Description |
---|---|
protected List<org.apache.maven.project.MavenProject> |
reactorProjects
Contains the full list of projects in the reactor.
|
protected org.apache.maven.execution.MavenSession |
session
The Maven session
|
Constructor and Description |
---|
AbstractDependencyMojo() |
Modifier and Type | Method and Description |
---|---|
protected abstract void |
doExecute() |
void |
execute() |
org.apache.maven.project.MavenProject |
getProject() |
protected boolean |
isSilent() |
boolean |
isSkip() |
org.apache.maven.project.ProjectBuildingRequest |
newResolveArtifactProjectBuildingRequest() |
protected org.apache.maven.project.ProjectBuildingRequest |
newResolvePluginProjectBuildingRequest() |
void |
setSilent(boolean silent) |
void |
setSkip(boolean skip) |
@Parameter(defaultValue="${reactorProjects}", readonly=true) protected List<org.apache.maven.project.MavenProject> reactorProjects
@Component protected org.apache.maven.execution.MavenSession session
public final void execute() throws org.apache.maven.plugin.MojoExecutionException, org.apache.maven.plugin.MojoFailureException
org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoFailureException
protected abstract void doExecute() throws org.apache.maven.plugin.MojoExecutionException, org.apache.maven.plugin.MojoFailureException
org.apache.maven.plugin.MojoExecutionException
- MojoExecutionException
org.apache.maven.plugin.MojoFailureException
- MojoFailureException
public org.apache.maven.project.ProjectBuildingRequest newResolveArtifactProjectBuildingRequest()
protected org.apache.maven.project.ProjectBuildingRequest newResolvePluginProjectBuildingRequest()
public org.apache.maven.project.MavenProject getProject()
public boolean isSkip()
skip
public void setSkip(boolean skip)
skip
- skip
protected final boolean isSilent()
silent
public void setSilent(boolean silent)
silent
- silent
Copyright © 2002–2024 The Apache Software Foundation. All rights reserved.