Class CreateTimestampMojo

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

@Mojo(name="create-timestamp", defaultPhase=INITIALIZE, requiresProject=true, threadSafe=true) 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. create a timestamp property
Since:
1.0-beta-5
Author:
pgier
  • Field Summary Link icon

    Fields inherited from interface org.apache.maven.plugin.Mojo Link icon

    ROLE
  • Constructor Summary Link icon

    Constructors
    Constructor
    Description
     
  • Method Summary Link icon

    Modifier and Type
    Method
    Description
    void
     

    Methods inherited from class org.apache.maven.plugin.AbstractMojo Link icon

    getLog, getPluginContext, setLog, setPluginContext

    Methods inherited from class java.lang.Object Link icon

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details Link icon

    • CreateTimestampMojo Link icon

      public CreateTimestampMojo()
  • Method Details Link icon

    • execute Link icon

      public void execute()