org.codehaus.mojo.buildhelper
Class TimestampPropertyMojo

java.lang.Object
  extended by org.apache.maven.plugin.AbstractMojo
      extended by org.codehaus.mojo.buildhelper.TimestampPropertyMojo
All Implemented Interfaces:
ContextEnabled, Mojo

public class TimestampPropertyMojo
extends AbstractMojo

Sets a property based on the current date and time.

Since:
1.7
Author:
Stephen Connolly
Is bound to the specified phase of the standard build lifecycle:
validate
Is defined by the goal name:
timestamp-property

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

TimestampPropertyMojo

public TimestampPropertyMojo()
Method Detail

execute

public void execute()
             throws MojoExecutionException,
                    MojoFailureException

Throws:
MojoExecutionException
MojoFailureException


Copyright © 2005-2012 Codehaus. All Rights Reserved.