@Mojo(name="version",
defaultPhase=INITIALIZE,
threadSafe=true)
public class VersionMojo
extends org.apache.maven.plugin.AbstractMojo
| Constructor and Description |
|---|
VersionMojo() |
| Modifier and Type | Method and Description |
|---|---|
void |
execute() |
Date |
getBuildTimestamp() |
String |
getRelease() |
String |
getVersion() |
getLog, getPluginContext, setLog, setPluginContextpublic void execute()
throws org.apache.maven.plugin.MojoExecutionException,
org.apache.maven.plugin.MojoFailureException
execute in interface org.apache.maven.plugin.Mojoorg.apache.maven.plugin.MojoExecutionExceptionorg.apache.maven.plugin.MojoFailureExceptionpublic final String getVersion()
public final String getRelease()
public Date getBuildTimestamp()
Copyright © 2005–2014 Codehaus. All rights reserved.