@Mojo(name="update-pom",
aggregator=true,
requiresDirectInvocation=true)
public class UpdatePomMojo
extends org.apache.maven.plugin.AbstractMojo
| Modifier and Type | Field and Description |
|---|---|
protected org.apache.maven.execution.MavenSession |
session |
| Constructor and Description |
|---|
UpdatePomMojo() |
| Modifier and Type | Method and Description |
|---|---|
void |
execute() |
protected <T> T |
lookup(Class<T> clazz) |
protected ProjectMetadataReader |
newProjectMetadataReader() |
@Parameter(property="session",
readonly=true)
protected org.apache.maven.execution.MavenSession session
public void execute()
throws org.apache.maven.plugin.MojoExecutionException,
org.apache.maven.plugin.MojoFailureException
org.apache.maven.plugin.MojoExecutionExceptionorg.apache.maven.plugin.MojoFailureExceptionprotected <T> T lookup(Class<T> clazz) throws org.apache.maven.plugin.MojoFailureException
org.apache.maven.plugin.MojoFailureExceptionprotected ProjectMetadataReader newProjectMetadataReader() throws org.apache.maven.plugin.MojoFailureException
org.apache.maven.plugin.MojoFailureExceptionCopyright © 2008-2015 Eclipse Foundation. All Rights Reserved.