org.apache.hadoop.maven.plugin.versioninfo
Class VersionInfoMojo

java.lang.Object
  extended by org.apache.maven.plugin.AbstractMojo
      extended by 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.


Field Summary
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
VersionInfoMojo()
           
 
Method Summary
 void execute()
           
 
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
 

Constructor Detail

VersionInfoMojo

public VersionInfoMojo()
Method Detail

execute

public void execute()
             throws org.apache.maven.plugin.MojoExecutionException
Throws:
org.apache.maven.plugin.MojoExecutionException


Copyright © 2014 Apache Software Foundation. All Rights Reserved.