org.apache.hadoop.maven.plugin.versioninfo
Class VersionInfoMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.apache.hadoop.maven.plugin.versioninfo.VersionInfoMojo
- All Implemented Interfaces:
- org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo
@Mojo(name="version-info")
public class VersionInfoMojo
- extends org.apache.maven.plugin.AbstractMojo
VersionInfoMojo calculates information about the current version of the
codebase and exports the information as properties for further use in a Maven
build. The version information includes build time, SCM URI, SCM branch, SCM
commit, and an MD5 checksum of the contents of the files in the codebase.
| Fields inherited from interface org.apache.maven.plugin.Mojo |
ROLE |
| Methods inherited from class org.apache.maven.plugin.AbstractMojo |
getLog, getPluginContext, setLog, setPluginContext |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
VersionInfoMojo
public VersionInfoMojo()
execute
public void execute()
throws org.apache.maven.plugin.MojoExecutionException
- Throws:
org.apache.maven.plugin.MojoExecutionException
Copyright © 2014 Apache Software Foundation. All Rights Reserved.