org.codehaus.mojo.build
Class CreateTimestampMojo

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

public class CreateTimestampMojo
extends org.apache.maven.plugin.AbstractMojo

This mojo is designed to give you a timestamp available through one or more properties. Only a single timestamp is created for each execution of the mojo. This timestamp can be format into one or more strings which are then saved to properties.

Since:
1.0-beta-5
Version:
$Id: CreateTimestampMojo.java 11906 2010-02-15 19:19:55Z pgier $
Author:
pgier

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

CreateTimestampMojo

public CreateTimestampMojo()
Method Detail

execute

public void execute()


Copyright © 2007-2012 Codehaus. All Rights Reserved.