Class 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.
    Since:
    1.0-beta-5
    Version:
    $Id: CreateTimestampMojo.java 19569 2014-03-21 21:27:32Z baptiste $
    Author:
    pgier
    • Constructor Detail

      • CreateTimestampMojo

        public CreateTimestampMojo()
    • Method Detail

      • execute

        public void execute()